diff options
Diffstat (limited to 'arch/arm/mach-msm/hotplug.c')
-rw-r--r-- | arch/arm/mach-msm/hotplug.c | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/arch/arm/mach-msm/hotplug.c b/arch/arm/mach-msm/hotplug.c index a446fc14221f..fedaa25b2935 100644 --- a/arch/arm/mach-msm/hotplug.c +++ b/arch/arm/mach-msm/hotplug.c | |||
@@ -13,6 +13,8 @@ | |||
13 | #include <asm/cacheflush.h> | 13 | #include <asm/cacheflush.h> |
14 | #include <asm/smp_plat.h> | 14 | #include <asm/smp_plat.h> |
15 | 15 | ||
16 | #include "core.h" | ||
17 | |||
16 | extern volatile int pen_release; | 18 | extern volatile int pen_release; |
17 | 19 | ||
18 | static inline void cpu_enter_lowpower(void) | 20 | static inline void cpu_enter_lowpower(void) |
@@ -57,17 +59,12 @@ static inline void platform_do_lowpower(unsigned int cpu) | |||
57 | } | 59 | } |
58 | } | 60 | } |
59 | 61 | ||
60 | int platform_cpu_kill(unsigned int cpu) | ||
61 | { | ||
62 | return 1; | ||
63 | } | ||
64 | |||
65 | /* | 62 | /* |
66 | * platform-specific code to shutdown a CPU | 63 | * platform-specific code to shutdown a CPU |
67 | * | 64 | * |
68 | * Called with IRQs disabled | 65 | * Called with IRQs disabled |
69 | */ | 66 | */ |
70 | void platform_cpu_die(unsigned int cpu) | 67 | void __ref msm_cpu_die(unsigned int cpu) |
71 | { | 68 | { |
72 | /* | 69 | /* |
73 | * we're ready for shutdown now, so do it | 70 | * we're ready for shutdown now, so do it |
@@ -81,12 +78,3 @@ void platform_cpu_die(unsigned int cpu) | |||
81 | */ | 78 | */ |
82 | cpu_leave_lowpower(); | 79 | cpu_leave_lowpower(); |
83 | } | 80 | } |
84 | |||
85 | int platform_cpu_disable(unsigned int cpu) | ||
86 | { | ||
87 | /* | ||
88 | * we don't allow CPU 0 to be shutdown (it is still too special | ||
89 | * e.g. clock tick interrupts) | ||
90 | */ | ||
91 | return cpu == 0 ? -EPERM : 0; | ||
92 | } | ||