aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/cavium-octeon/smp.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-01-22 06:59:30 -0500
committerRalf Baechle <ralf@linux-mips.org>2013-02-01 04:00:22 -0500
commit7034228792cc561e79ff8600f02884bd4c80e287 (patch)
tree89b77af37d087d9de236fc5d21f60bf552d0a2c6 /arch/mips/cavium-octeon/smp.c
parent405ab01c70e18058d9c01a1256769a61fc65413e (diff)
MIPS: Whitespace cleanup.
Having received another series of whitespace patches I decided to do this once and for all rather than dealing with this kind of patches trickling in forever. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cavium-octeon/smp.c')
-rw-r--r--arch/mips/cavium-octeon/smp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips/cavium-octeon/smp.c b/arch/mips/cavium-octeon/smp.c
index ee1fb9f7f517..295137dfdc37 100644
--- a/arch/mips/cavium-octeon/smp.c
+++ b/arch/mips/cavium-octeon/smp.c
@@ -55,7 +55,7 @@ static irqreturn_t mailbox_interrupt(int irq, void *dev_id)
55 55
56/** 56/**
57 * Cause the function described by call_data to be executed on the passed 57 * Cause the function described by call_data to be executed on the passed
58 * cpu. When the function has finished, increment the finished field of 58 * cpu. When the function has finished, increment the finished field of
59 * call_data. 59 * call_data.
60 */ 60 */
61void octeon_send_ipi_single(int cpu, unsigned int action) 61void octeon_send_ipi_single(int cpu, unsigned int action)
@@ -126,8 +126,8 @@ static void octeon_smp_setup(void)
126 126
127#ifdef CONFIG_HOTPLUG_CPU 127#ifdef CONFIG_HOTPLUG_CPU
128 /* 128 /*
129 * The possible CPUs are all those present on the chip. We 129 * The possible CPUs are all those present on the chip. We
130 * will assign CPU numbers for possible cores as well. Cores 130 * will assign CPU numbers for possible cores as well. Cores
131 * are always consecutively numberd from 0. 131 * are always consecutively numberd from 0.
132 */ 132 */
133 for (id = 0; id < num_cores && id < NR_CPUS; id++) { 133 for (id = 0; id < num_cores && id < NR_CPUS; id++) {
@@ -332,7 +332,7 @@ extern void kernel_entry(unsigned long arg1, ...);
332 332
333static void start_after_reset(void) 333static void start_after_reset(void)
334{ 334{
335 kernel_entry(0, 0, 0); /* set a2 = 0 for secondary core */ 335 kernel_entry(0, 0, 0); /* set a2 = 0 for secondary core */
336} 336}
337 337
338static int octeon_update_boot_vector(unsigned int cpu) 338static int octeon_update_boot_vector(unsigned int cpu)
@@ -401,7 +401,7 @@ static int __cpuinit register_cavium_notifier(void)
401} 401}
402late_initcall(register_cavium_notifier); 402late_initcall(register_cavium_notifier);
403 403
404#endif /* CONFIG_HOTPLUG_CPU */ 404#endif /* CONFIG_HOTPLUG_CPU */
405 405
406struct plat_smp_ops octeon_smp_ops = { 406struct plat_smp_ops octeon_smp_ops = {
407 .send_ipi_single = octeon_send_ipi_single, 407 .send_ipi_single = octeon_send_ipi_single,