tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 9a631ea4bdc4d7a7faabc4a98d632f39573a9a8d commit: 9a631ea4bdc4d7a7faabc4a98d632f39573a9a8d [133/133] sched/headers: Split <linux/sched/fork.h> out of <linux/sched.h> config: mips-bigsur_defconfig (attached as .config) compiler: mips64-linux-gnuabi64-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 9a631ea4bdc4d7a7faabc4a98d632f39573a9a8d # save the attached .config to linux build tree make.cross ARCH=mips
All error/warnings (new ones prefixed by >>): In file included from include/linux/completion.h:11:0, from include/linux/rcupdate.h:43, from include/linux/rbtree.h:34, from include/linux/mm_types.h:9, from include/linux/sched.h:9, from include/linux/sched/fork.h:8, from arch/mips/include/asm/processor.h:17, from arch/mips/include/asm/thread_info.h:15, from include/linux/thread_info.h:25, from include/asm-generic/preempt.h:4, from ./arch/mips/include/generated/asm/preempt.h:1, from include/linux/preempt.h:59, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/linux/stat.h:18, from include/linux/compat.h:12, from arch/mips/kernel/asm-offsets.c:11: >> include/linux/wait.h:41:2: error: unknown type name 'spinlock_t' spinlock_t lock; ^~~~~~~~~~ In file included from include/linux/timex.h:56:0, from include/linux/jiffies.h:8, from include/linux/ktime.h:25, from include/linux/rcupdate.h:47, from include/linux/rbtree.h:34, from include/linux/mm_types.h:9, from include/linux/sched.h:9, from include/linux/sched/fork.h:8, from arch/mips/include/asm/processor.h:17, from arch/mips/include/asm/thread_info.h:15, from include/linux/thread_info.h:25, from include/asm-generic/preempt.h:4, from ./arch/mips/include/generated/asm/preempt.h:1, from include/linux/preempt.h:59, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/linux/stat.h:18, from include/linux/compat.h:12, from arch/mips/kernel/asm-offsets.c:11: >> include/uapi/linux/timex.h:76:17: error: field 'time' has incomplete type struct timeval time; /* (read only, except for ADJ_SETOFFSET) */ ^~~~ In file included from include/linux/smp.h:59:0, from arch/mips/include/asm/cpu-type.h:12, from arch/mips/include/asm/timex.h:19, from include/linux/timex.h:65, from include/linux/jiffies.h:8, from include/linux/ktime.h:25, from include/linux/rcupdate.h:47, from include/linux/rbtree.h:34, from include/linux/mm_types.h:9, from include/linux/sched.h:9, from include/linux/sched/fork.h:8, from arch/mips/include/asm/processor.h:17, from arch/mips/include/asm/thread_info.h:15, from include/linux/thread_info.h:25, from include/asm-generic/preempt.h:4, from ./arch/mips/include/generated/asm/preempt.h:1, from include/linux/preempt.h:59, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/linux/stat.h:18, from include/linux/compat.h:12, from arch/mips/kernel/asm-offsets.c:11: arch/mips/include/asm/cpu-type.h: In function 'current_cpu_type': >> arch/mips/include/asm/smp.h:28:33: error: implicit declaration of function >> 'current_thread_info' [-Werror=implicit-function-declaration] #define raw_smp_processor_id() (current_thread_info()->cpu) ^ >> include/linux/smp.h:182:29: note: in expansion of macro >> 'raw_smp_processor_id' # define smp_processor_id() raw_smp_processor_id() ^~~~~~~~~~~~~~~~~~~~ >> arch/mips/include/asm/cpu-info.h:115:35: note: in expansion of macro >> 'smp_processor_id' #define current_cpu_data cpu_data[smp_processor_id()] ^~~~~~~~~~~~~~~~ >> arch/mips/include/asm/cpu-type.h:222:23: note: in expansion of macro >> 'current_cpu_data' const int cpu_type = current_cpu_data.cputype; ^~~~~~~~~~~~~~~~ >> arch/mips/include/asm/smp.h:28:54: error: invalid type argument of '->' >> (have 'int') #define raw_smp_processor_id() (current_thread_info()->cpu) ^ >> include/linux/smp.h:182:29: note: in expansion of macro >> 'raw_smp_processor_id' # define smp_processor_id() raw_smp_processor_id() ^~~~~~~~~~~~~~~~~~~~ >> arch/mips/include/asm/cpu-info.h:115:35: note: in expansion of macro >> 'smp_processor_id' #define current_cpu_data cpu_data[smp_processor_id()] ^~~~~~~~~~~~~~~~ >> arch/mips/include/asm/cpu-type.h:222:23: note: in expansion of macro >> 'current_cpu_data' const int cpu_type = current_cpu_data.cputype; ^~~~~~~~~~~~~~~~ In file included from include/linux/jiffies.h:8:0, from include/linux/ktime.h:25, from include/linux/rcupdate.h:47, from include/linux/rbtree.h:34, from include/linux/mm_types.h:9, from include/linux/sched.h:9, from include/linux/sched/fork.h:8, from arch/mips/include/asm/processor.h:17, from arch/mips/include/asm/thread_info.h:15, from include/linux/thread_info.h:25, from include/asm-generic/preempt.h:4, from ./arch/mips/include/generated/asm/preempt.h:1, from include/linux/preempt.h:59, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/linux/stat.h:18, from include/linux/compat.h:12, from arch/mips/kernel/asm-offsets.c:11: include/linux/timex.h: At top level: >> include/linux/timex.h:155:34: warning: 'struct timespec64' declared inside >> parameter list will not be visible outside of this definition or declaration extern void hardpps(const struct timespec64 *, const struct timespec64 *); ^~~~~~~~~~ In file included from include/linux/ktime.h:25:0, from include/linux/rcupdate.h:47, from include/linux/rbtree.h:34, from include/linux/mm_types.h:9, from include/linux/sched.h:9, from include/linux/sched/fork.h:8, from arch/mips/include/asm/processor.h:17, from arch/mips/include/asm/thread_info.h:15, from include/linux/thread_info.h:25, from include/asm-generic/preempt.h:4, from ./arch/mips/include/generated/asm/preempt.h:1, from include/linux/preempt.h:59, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/linux/stat.h:18, from include/linux/compat.h:12, from arch/mips/kernel/asm-offsets.c:11: >> include/linux/jiffies.h:261:10: warning: "NSEC_PER_SEC" is not defined >> [-Wundef] #if !((((NSEC_PER_SEC << 2) / TICK_NSEC) << (SEC_JIFFIE_SC - 2)) & 0x80000000) ^~~~~~~~~~~~ include/linux/jiffies.h:61:21: warning: "NSEC_PER_SEC" is not defined [-Wundef] #define TICK_NSEC ((NSEC_PER_SEC+HZ/2)/HZ) ^ >> include/linux/jiffies.h:261:31: note: in expansion of macro 'TICK_NSEC' #if !((((NSEC_PER_SEC << 2) / TICK_NSEC) << (SEC_JIFFIE_SC - 2)) & 0x80000000) ^~~~~~~~~ >> include/linux/jiffies.h:61:39: error: division by zero in #if #define TICK_NSEC ((NSEC_PER_SEC+HZ/2)/HZ) ^ >> include/linux/jiffies.h:261:31: note: in expansion of macro 'TICK_NSEC' #if !((((NSEC_PER_SEC << 2) / TICK_NSEC) << (SEC_JIFFIE_SC - 2)) & 0x80000000) ^~~~~~~~~ include/linux/jiffies.h: In function 'jiffies_to_nsecs': >> include/linux/jiffies.h:293:36: error: 'NSEC_PER_USEC' undeclared (first use >> in this function) return (u64)jiffies_to_usecs(j) * NSEC_PER_USEC; ^~~~~~~~~~~~~ include/linux/jiffies.h:293:36: note: each undeclared identifier is reported only once for each function it appears in include/linux/jiffies.h: At top level: >> include/linux/jiffies.h:299:11: warning: "MSEC_PER_SEC" is not defined >> [-Wundef] #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) ^~~~~~~~~~~~ include/linux/jiffies.h:309:12: warning: "MSEC_PER_SEC" is not defined [-Wundef] #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) ^~~~~~~~~~~~ include/linux/jiffies.h:309:35: warning: "MSEC_PER_SEC" is not defined [-Wundef] #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) ^~~~~~~~~~~~ include/linux/jiffies.h:309:33: error: division by zero in #if #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) ^ include/linux/jiffies.h: In function '_msecs_to_jiffies': >> include/linux/jiffies.h:329:11: error: 'MSEC_PER_SEC' undeclared (first use >> in this function) if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) ^~~~~~~~~~~~ include/linux/jiffies.h: At top level: >> include/linux/jiffies.h:372:7: warning: "USEC_PER_SEC" is not defined >> [-Wundef] #if !(USEC_PER_SEC % HZ) ^~~~~~~~~~~~ include/linux/jiffies.h: In function '_usecs_to_jiffies': >> include/linux/jiffies.h:375:15: error: 'USEC_PER_SEC' undeclared (first use >> in this function) return (u + (USEC_PER_SEC / HZ) - 1) / (USEC_PER_SEC / HZ); ^~~~~~~~~~~~ include/linux/jiffies.h: At top level: vim +/spinlock_t +41 include/linux/wait.h ^1da177e Linus Torvalds 2005-04-16 35 struct wait_bit_queue { ^1da177e Linus Torvalds 2005-04-16 36 struct wait_bit_key key; ^1da177e Linus Torvalds 2005-04-16 37 wait_queue_t wait; ^1da177e Linus Torvalds 2005-04-16 38 }; ^1da177e Linus Torvalds 2005-04-16 39 ^1da177e Linus Torvalds 2005-04-16 40 struct __wait_queue_head { ^1da177e Linus Torvalds 2005-04-16 @41 spinlock_t lock; ^1da177e Linus Torvalds 2005-04-16 42 struct list_head task_list; ^1da177e Linus Torvalds 2005-04-16 43 }; ^1da177e Linus Torvalds 2005-04-16 44 typedef struct __wait_queue_head wait_queue_head_t; :::::: The code at line 41 was first introduced by commit :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 :::::: TO: Linus Torvalds <torva...@ppc970.osdl.org> :::::: CC: Linus Torvalds <torva...@ppc970.osdl.org> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip