diff options
Diffstat (limited to 'arch/sh/kernel/cpu/init.c')
-rw-r--r-- | arch/sh/kernel/cpu/init.c | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/arch/sh/kernel/cpu/init.c b/arch/sh/kernel/cpu/init.c index 2e23422280a7..a5bb0550bbf3 100644 --- a/arch/sh/kernel/cpu/init.c +++ b/arch/sh/kernel/cpu/init.c | |||
@@ -24,9 +24,6 @@ | |||
24 | #include <asm/elf.h> | 24 | #include <asm/elf.h> |
25 | #include <asm/io.h> | 25 | #include <asm/io.h> |
26 | #include <asm/smp.h> | 26 | #include <asm/smp.h> |
27 | #ifdef CONFIG_SUPERH32 | ||
28 | #include <asm/ubc.h> | ||
29 | #endif | ||
30 | 27 | ||
31 | #ifdef CONFIG_SH_FPU | 28 | #ifdef CONFIG_SH_FPU |
32 | #define cpu_has_fpu 1 | 29 | #define cpu_has_fpu 1 |
@@ -284,20 +281,19 @@ static inline void __init dsp_init(void) { } | |||
284 | /** | 281 | /** |
285 | * sh_cpu_init | 282 | * sh_cpu_init |
286 | * | 283 | * |
287 | * This is our initial entry point for each CPU, and is invoked on the boot | 284 | * This is our initial entry point for each CPU, and is invoked on the |
288 | * CPU prior to calling start_kernel(). For SMP, a combination of this and | 285 | * boot CPU prior to calling start_kernel(). For SMP, a combination of |
289 | * start_secondary() will bring up each processor to a ready state prior | 286 | * this and start_secondary() will bring up each processor to a ready |
290 | * to hand forking the idle loop. | 287 | * state prior to hand forking the idle loop. |
291 | * | 288 | * |
292 | * We do all of the basic processor init here, including setting up the | 289 | * We do all of the basic processor init here, including setting up |
293 | * caches, FPU, DSP, kicking the UBC, etc. By the time start_kernel() is | 290 | * the caches, FPU, DSP, etc. By the time start_kernel() is hit (and |
294 | * hit (and subsequently platform_setup()) things like determining the | 291 | * subsequently platform_setup()) things like determining the CPU |
295 | * CPU subtype and initial configuration will all be done. | 292 | * subtype and initial configuration will all be done. |
296 | * | 293 | * |
297 | * Each processor family is still responsible for doing its own probing | 294 | * Each processor family is still responsible for doing its own probing |
298 | * and cache configuration in detect_cpu_and_cache_system(). | 295 | * and cache configuration in detect_cpu_and_cache_system(). |
299 | */ | 296 | */ |
300 | |||
301 | asmlinkage void __init sh_cpu_init(void) | 297 | asmlinkage void __init sh_cpu_init(void) |
302 | { | 298 | { |
303 | current_thread_info()->cpu = hard_smp_processor_id(); | 299 | current_thread_info()->cpu = hard_smp_processor_id(); |