From c881cbc033c80d92d1bb7a0446735561a46e1f9c Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Sat, 10 Nov 2007 20:18:18 +0900 Subject: sh: Don't reference UBC code in CPU init on sh64. Signed-off-by: Paul Mundt --- arch/sh/kernel/cpu/init.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'arch') diff --git a/arch/sh/kernel/cpu/init.c b/arch/sh/kernel/cpu/init.c index c217c4bf008..f37f1c03163 100644 --- a/arch/sh/kernel/cpu/init.c +++ b/arch/sh/kernel/cpu/init.c @@ -21,8 +21,10 @@ #include #include #include -#include #include +#ifdef CONFIG_SUPERH32 +#include +#endif /* * Generic wrapper for command line arguments to disable on-chip @@ -273,7 +275,10 @@ asmlinkage void __cpuinit sh_cpu_init(void) * like PTRACE_SINGLESTEP or doing hardware watchpoints in GDB. So .. * we wake it up and hope that all is well. */ +#ifdef CONFIG_SUPERH32 if (raw_smp_processor_id() == 0) ubc_wakeup(); +#endif + speculative_execution_init(); } -- cgit v1.2.3