diff options
Diffstat (limited to 'arch/arm/mach-vexpress/hotplug.c')
-rw-r--r-- | arch/arm/mach-vexpress/hotplug.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/arch/arm/mach-vexpress/hotplug.c b/arch/arm/mach-vexpress/hotplug.c index c504a72b94d6..a141b98d84fe 100644 --- a/arch/arm/mach-vexpress/hotplug.c +++ b/arch/arm/mach-vexpress/hotplug.c | |||
@@ -16,8 +16,6 @@ | |||
16 | #include <asm/smp_plat.h> | 16 | #include <asm/smp_plat.h> |
17 | #include <asm/cp15.h> | 17 | #include <asm/cp15.h> |
18 | 18 | ||
19 | extern volatile int pen_release; | ||
20 | |||
21 | static inline void cpu_enter_lowpower(void) | 19 | static inline void cpu_enter_lowpower(void) |
22 | { | 20 | { |
23 | unsigned int v; | 21 | unsigned int v; |
@@ -84,17 +82,12 @@ static inline void platform_do_lowpower(unsigned int cpu, int *spurious) | |||
84 | } | 82 | } |
85 | } | 83 | } |
86 | 84 | ||
87 | int platform_cpu_kill(unsigned int cpu) | ||
88 | { | ||
89 | return 1; | ||
90 | } | ||
91 | |||
92 | /* | 85 | /* |
93 | * platform-specific code to shutdown a CPU | 86 | * platform-specific code to shutdown a CPU |
94 | * | 87 | * |
95 | * Called with IRQs disabled | 88 | * Called with IRQs disabled |
96 | */ | 89 | */ |
97 | void platform_cpu_die(unsigned int cpu) | 90 | void __ref vexpress_cpu_die(unsigned int cpu) |
98 | { | 91 | { |
99 | int spurious = 0; | 92 | int spurious = 0; |
100 | 93 | ||
@@ -113,12 +106,3 @@ void platform_cpu_die(unsigned int cpu) | |||
113 | if (spurious) | 106 | if (spurious) |
114 | pr_warn("CPU%u: %u spurious wakeup calls\n", cpu, spurious); | 107 | pr_warn("CPU%u: %u spurious wakeup calls\n", cpu, spurious); |
115 | } | 108 | } |
116 | |||
117 | int platform_cpu_disable(unsigned int cpu) | ||
118 | { | ||
119 | /* | ||
120 | * we don't allow CPU 0 to be shutdown (it is still too special | ||
121 | * e.g. clock tick interrupts) | ||
122 | */ | ||
123 | return cpu == 0 ? -EPERM : 0; | ||
124 | } | ||