aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap-hotplug.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/omap-hotplug.c')
-rw-r--r--arch/arm/mach-omap2/omap-hotplug.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/omap-hotplug.c b/arch/arm/mach-omap2/omap-hotplug.c
index ace979d74bfc..4976b9393e49 100644
--- a/arch/arm/mach-omap2/omap-hotplug.c
+++ b/arch/arm/mach-omap2/omap-hotplug.c
@@ -32,14 +32,6 @@ int platform_cpu_kill(unsigned int cpu)
32 */ 32 */
33void platform_cpu_die(unsigned int cpu) 33void platform_cpu_die(unsigned int cpu)
34{ 34{
35 unsigned int this_cpu = hard_smp_processor_id();
36
37 if (cpu != this_cpu) {
38 pr_crit("platform_cpu_die running on %u, should be %u\n",
39 this_cpu, cpu);
40 BUG();
41 }
42
43 flush_cache_all(); 35 flush_cache_all();
44 dsb(); 36 dsb();
45 37