diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-04 05:26:40 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-04 05:26:40 -0400 |
commit | ba8dd03ac09f51a69c154b8cb508b701d713a2cd (patch) | |
tree | 38b490415f54faa5236d3d7534d0fd530c9e04d2 | |
parent | 392096e98fd55e54035978fe03796fca8d26a574 (diff) |
generic-ipi: fix s390 build bug
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>
-rw-r--r-- | include/linux/smp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/smp.h b/include/linux/smp.h index 55261101d09a..48262f86c969 100644 --- a/include/linux/smp.h +++ b/include/linux/smp.h | |||
@@ -8,7 +8,6 @@ | |||
8 | 8 | ||
9 | #include <linux/errno.h> | 9 | #include <linux/errno.h> |
10 | #include <linux/list.h> | 10 | #include <linux/list.h> |
11 | #include <linux/spinlock.h> | ||
12 | #include <linux/cpumask.h> | 11 | #include <linux/cpumask.h> |
13 | 12 | ||
14 | extern void cpu_idle(void); | 13 | extern void cpu_idle(void); |