diff options
Diffstat (limited to 'arch/mips/cavium-octeon/smp.c')
-rw-r--r-- | arch/mips/cavium-octeon/smp.c | 10 |
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 | */ |
61 | void octeon_send_ipi_single(int cpu, unsigned int action) | 61 | void 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 | ||
333 | static void start_after_reset(void) | 333 | static 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 | ||
338 | static int octeon_update_boot_vector(unsigned int cpu) | 338 | static int octeon_update_boot_vector(unsigned int cpu) |
@@ -401,7 +401,7 @@ static int __cpuinit register_cavium_notifier(void) | |||
401 | } | 401 | } |
402 | late_initcall(register_cavium_notifier); | 402 | late_initcall(register_cavium_notifier); |
403 | 403 | ||
404 | #endif /* CONFIG_HOTPLUG_CPU */ | 404 | #endif /* CONFIG_HOTPLUG_CPU */ |
405 | 405 | ||
406 | struct plat_smp_ops octeon_smp_ops = { | 406 | struct plat_smp_ops octeon_smp_ops = { |
407 | .send_ipi_single = octeon_send_ipi_single, | 407 | .send_ipi_single = octeon_send_ipi_single, |