diff options
Diffstat (limited to 'arch/ppc/kernel/head.S')
-rw-r--r-- | arch/ppc/kernel/head.S | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/ppc/kernel/head.S b/arch/ppc/kernel/head.S index 100052aaea9a..c7cb9d5f24a3 100644 --- a/arch/ppc/kernel/head.S +++ b/arch/ppc/kernel/head.S | |||
@@ -310,12 +310,7 @@ i##n: \ | |||
310 | /* System reset */ | 310 | /* System reset */ |
311 | /* core99 pmac starts the seconary here by changing the vector, and | 311 | /* core99 pmac starts the seconary here by changing the vector, and |
312 | putting it back to what it was (unknown_exception) when done. */ | 312 | putting it back to what it was (unknown_exception) when done. */ |
313 | #if defined(CONFIG_GEMINI) && defined(CONFIG_SMP) | ||
314 | . = 0x100 | ||
315 | b __secondary_start_gemini | ||
316 | #else | ||
317 | EXCEPTION(0x100, Reset, unknown_exception, EXC_XFER_STD) | 313 | EXCEPTION(0x100, Reset, unknown_exception, EXC_XFER_STD) |
318 | #endif | ||
319 | 314 | ||
320 | /* Machine check */ | 315 | /* Machine check */ |
321 | . = 0x200 | 316 | . = 0x200 |
@@ -897,19 +892,6 @@ fix_mem_constants: | |||
897 | #endif /* CONFIG_APUS */ | 892 | #endif /* CONFIG_APUS */ |
898 | 893 | ||
899 | #ifdef CONFIG_SMP | 894 | #ifdef CONFIG_SMP |
900 | #ifdef CONFIG_GEMINI | ||
901 | .globl __secondary_start_gemini | ||
902 | __secondary_start_gemini: | ||
903 | mfspr r4,SPRN_HID0 | ||
904 | ori r4,r4,HID0_ICFI | ||
905 | li r3,0 | ||
906 | ori r3,r3,HID0_ICE | ||
907 | andc r4,r4,r3 | ||
908 | mtspr SPRN_HID0,r4 | ||
909 | sync | ||
910 | b __secondary_start | ||
911 | #endif /* CONFIG_GEMINI */ | ||
912 | |||
913 | .globl __secondary_start_pmac_0 | 895 | .globl __secondary_start_pmac_0 |
914 | __secondary_start_pmac_0: | 896 | __secondary_start_pmac_0: |
915 | /* NB the entries for cpus 0, 1, 2 must each occupy 8 bytes. */ | 897 | /* NB the entries for cpus 0, 1, 2 must each occupy 8 bytes. */ |