generic-ipi: fix s390 build bug
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 4 Jul 2008 09:26:40 +0000 (11:26 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 4 Jul 2008 09:26:40 +0000 (11:26 +0200)
forgot to remove #include <linux/spinlock.h> from linux/smp.h while
fixing the original s390 build bug.

Patch below fixes this build bug caused by header inclusion dependencies:

  CC      kernel/timer.o
In file included from include/linux/spinlock.h:87,
                 from include/linux/smp.h:11,
                 from include/linux/kernel_stat.h:4,
                 from kernel/timer.c:22:
include/asm/spinlock.h: In function '__raw_spin_lock':
include/asm/spinlock.h:69: error: implicit declaration of function 'smp_processor_id'

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/smp.h

index 55261101d09aa5f86e56f232a1899c6e98c58286..48262f86c969dccd11486ef772907845d6cb45cb 100644 (file)
@@ -8,7 +8,6 @@
 
 #include <linux/errno.h>
 #include <linux/list.h>
-#include <linux/spinlock.h>
 #include <linux/cpumask.h>
 
 extern void cpu_idle(void);