summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2004-09-29 00:09:33 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-29 00:09:33 -0700
commita45e497ba3181b46ed055d9ee59f3247eb3abb98 (patch)
tree2da418677fa635d7d7938a8fe59b61ad44db70d2 /include
parent0616d60931fdfea4265345c2729a12ab6c5a74e3 (diff)
[PATCH] ppc64: Fix !SMP build
People don't build UP very often it seems ... anyways, it was broken, here is the fix. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/smp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-ppc64/smp.h b/include/asm-ppc64/smp.h
index 06ee38a6522a..b5573ab3675a 100644
--- a/include/asm-ppc64/smp.h
+++ b/include/asm-ppc64/smp.h
@@ -26,6 +26,8 @@
#include <asm/paca.h>
+extern int boot_cpuid;
+
#ifdef CONFIG_SMP
extern void smp_send_debugger_break(int cpu);
@@ -37,7 +39,6 @@ extern void smp_message_recv(int, struct pt_regs *);
#define hard_smp_processor_id() (get_paca()->hw_cpu_id)
extern cpumask_t cpu_sibling_map[NR_CPUS];
-extern int boot_cpuid;
/* Since OpenPIC has only 4 IPIs, we use slightly different message numbers.
*