]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: zynq: Rename 'zynq_platform_cpu_die'
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Tue, 2 Sep 2014 21:19:14 +0000 (14:19 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 16 Sep 2014 10:55:11 +0000 (12:55 +0200)
Match the naming pattern of all other SMP ops and rename
zynq_platform_cpu_die --> zynq_cpu_die.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/platsmp.c

index f722b5a83a458050086fda42d8821985ec61f189..52d768ff785711a1d9d2fc384400e754ae8ddbef 100644 (file)
@@ -137,12 +137,14 @@ static int zynq_cpu_kill(unsigned cpu)
        return 1;
 }
 
-/*
- * platform-specific code to shutdown a CPU
+/**
+ * zynq_cpu_die - Let a CPU core die
+ * @cpu:       Dying CPU
  *
- * Called with IRQs disabled
+ * Platform-specific code to shutdown a CPU.
+ * Called with IRQs disabled on the dying CPU.
  */
-static void zynq_platform_cpu_die(unsigned int cpu)
+static void zynq_cpu_die(unsigned int cpu)
 {
        zynq_slcr_cpu_state_write(cpu, true);
 
@@ -162,7 +164,7 @@ struct smp_operations zynq_smp_ops __initdata = {
        .smp_boot_secondary     = zynq_boot_secondary,
        .smp_secondary_init     = zynq_secondary_init,
 #ifdef CONFIG_HOTPLUG_CPU
-       .cpu_die                = zynq_platform_cpu_die,
+       .cpu_die                = zynq_cpu_die,
        .cpu_kill               = zynq_cpu_kill,
 #endif
 };