arm64 non-SMP build error in latest upstream kernel
From: Guenter Roeck
Date: Thu Oct 09 2014 - 17:34:38 EST
Configuration: arm64 defconfig, -SMP
In file included from ./arch/arm64/include/asm/irq_work.h:4:0,
./arch/arm64/include/asm/smp.h:24:3: error: #error "<asm/smp.h> included in non-SMP build"
# error "<asm/smp.h> included in non-SMP build"
./arch/arm64/include/asm/smp.h:27:0: warning: "raw_smp_processor_id" redefined [enabled by default]
#define raw_smp_processor_id() (current_thread_info()->cpu)
In file included from include/linux/sched.h:34:0,
include/linux/smp.h:129:0: note: this is the location of the previous definition
#define raw_smp_processor_id() 0
This is just one example; the error is seen multiple times.
Let me know if you need me to bisect.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/