]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
ARM: zynq: Rename zynq_platform_cpu_die to zynq_cpu_die
authorMichal Simek <michal.simek@xilinx.com>
Thu, 1 May 2014 16:36:38 +0000 (09:36 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 6 May 2014 11:00:24 +0000 (13:00 +0200)
Rename zynq_platform_cpu_die() to zynq_cpu_die()
to match the name of the other Zynq SMP ops.
Also use kernel-doc format to document this function.

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

index a66024aca6251ee326d34a74020e4fb6371f20e6..925806fde477062075504981f61eabfb0ff45ae7 100644 (file)
@@ -119,12 +119,13 @@ static int zynq_cpu_kill(unsigned cpu)
        return 1;
 }
 
-/*
- * platform-specific code to shutdown a CPU
+/**
+ * zynq_cpu_die - platform-specific code to shutdown a CPU
+ * @cpu: cpu number
  *
- * Called with IRQs disabled
+ * Note: 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)
 {
        /*
         * there is no power-control hardware on this platform, so all
@@ -141,7 +142,7 @@ struct smp_operations zynq_smp_ops __initdata = {
        .smp_prepare_cpus       = zynq_smp_prepare_cpus,
        .smp_boot_secondary     = zynq_boot_secondary,
 #ifdef CONFIG_HOTPLUG_CPU
-       .cpu_die                = zynq_platform_cpu_die,
+       .cpu_die                = zynq_cpu_die,
        .cpu_kill               = zynq_cpu_kill,
 #endif
 };