diff options
Diffstat (limited to 'arch/arm/mach-uniphier/platsmp.c')
-rw-r--r-- | arch/arm/mach-uniphier/platsmp.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-uniphier/platsmp.c b/arch/arm/mach-uniphier/platsmp.c index 5943e1cb7fe1..4b784f721135 100644 --- a/arch/arm/mach-uniphier/platsmp.c +++ b/arch/arm/mach-uniphier/platsmp.c | |||
@@ -60,12 +60,6 @@ err: | |||
60 | sbcm_regmap = NULL; | 60 | sbcm_regmap = NULL; |
61 | } | 61 | } |
62 | 62 | ||
63 | static void __naked uniphier_secondary_startup(void) | ||
64 | { | ||
65 | asm("bl v7_invalidate_l1\n" | ||
66 | "b secondary_startup\n"); | ||
67 | }; | ||
68 | |||
69 | static int uniphier_boot_secondary(unsigned int cpu, | 63 | static int uniphier_boot_secondary(unsigned int cpu, |
70 | struct task_struct *idle) | 64 | struct task_struct *idle) |
71 | { | 65 | { |
@@ -75,7 +69,7 @@ static int uniphier_boot_secondary(unsigned int cpu, | |||
75 | return -ENODEV; | 69 | return -ENODEV; |
76 | 70 | ||
77 | ret = regmap_write(sbcm_regmap, 0x1208, | 71 | ret = regmap_write(sbcm_regmap, 0x1208, |
78 | virt_to_phys(uniphier_secondary_startup)); | 72 | virt_to_phys(secondary_startup)); |
79 | if (!ret) | 73 | if (!ret) |
80 | asm("sev"); /* wake up secondary CPU */ | 74 | asm("sev"); /* wake up secondary CPU */ |
81 | 75 | ||