diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2009-06-19 15:05:26 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-06-24 19:34:39 +0200 |
commit | 631330f5847b3f8a7ea67d689e9f7c56833ccaa6 (patch) | |
tree | d3bda03e877ecabf1d4f73532fc84dc5e1f4299e /arch/mips/kernel/cevt-bcm1480.c | |
parent | MIPS: bug.h Build fix - include <linux/compiler.h>. (diff) | |
download | linux-631330f5847b3f8a7ea67d689e9f7c56833ccaa6.tar.xz linux-631330f5847b3f8a7ea67d689e9f7c56833ccaa6.zip |
MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users.
Some of the were relying into smp.h being dragged in by another header
which of course is fragile. <asm/cpu-info.h> uses smp_processor_id()
only in macros and including smp.h there leads to an include loop, so
don't change cpu-info.h.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/cevt-bcm1480.c')
-rw-r--r-- | arch/mips/kernel/cevt-bcm1480.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/cevt-bcm1480.c b/arch/mips/kernel/cevt-bcm1480.c index a5182a207696..e02f79b1eb51 100644 --- a/arch/mips/kernel/cevt-bcm1480.c +++ b/arch/mips/kernel/cevt-bcm1480.c @@ -18,6 +18,7 @@ #include <linux/clockchips.h> #include <linux/interrupt.h> #include <linux/percpu.h> +#include <linux/smp.h> #include <asm/addrspace.h> #include <asm/io.h> |