diff options
Diffstat (limited to 'arch/alpha/kernel/smp.c')
| -rw-r--r-- | arch/alpha/kernel/smp.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c index b1fe5674c3a..42aa078a5e4 100644 --- a/arch/alpha/kernel/smp.c +++ b/arch/alpha/kernel/smp.c | |||
| @@ -548,16 +548,16 @@ setup_profiling_timer(unsigned int multiplier) | |||
| 548 | 548 | ||
| 549 | 549 | ||
| 550 | static void | 550 | static void |
| 551 | send_ipi_message(cpumask_t to_whom, enum ipi_message_type operation) | 551 | send_ipi_message(const struct cpumask *to_whom, enum ipi_message_type operation) |
| 552 | { | 552 | { |
| 553 | int i; | 553 | int i; |
| 554 | 554 | ||
| 555 | mb(); | 555 | mb(); |
| 556 | for_each_cpu_mask(i, to_whom) | 556 | for_each_cpu(i, to_whom) |
| 557 | set_bit(operation, &ipi_data[i].bits); | 557 | set_bit(operation, &ipi_data[i].bits); |
| 558 | 558 | ||
| 559 | mb(); | 559 | mb(); |
| 560 | for_each_cpu_mask(i, to_whom) | 560 | for_each_cpu(i, to_whom) |
| 561 | wripir(i); | 561 | wripir(i); |
| 562 | } | 562 | } |
| 563 | 563 | ||
| @@ -624,7 +624,7 @@ smp_send_reschedule(int cpu) | |||
| 624 | printk(KERN_WARNING | 624 | printk(KERN_WARNING |
| 625 | "smp_send_reschedule: Sending IPI to self.\n"); | 625 | "smp_send_reschedule: Sending IPI to self.\n"); |
| 626 | #endif | 626 | #endif |
| 627 | send_ipi_message(cpumask_of_cpu(cpu), IPI_RESCHEDULE); | 627 | send_ipi_message(cpumask_of(cpu), IPI_RESCHEDULE); |
| 628 | } | 628 | } |
| 629 | 629 | ||
| 630 | void | 630 | void |
| @@ -636,17 +636,17 @@ smp_send_stop(void) | |||
| 636 | if (hard_smp_processor_id() != boot_cpu_id) | 636 | if (hard_smp_processor_id() != boot_cpu_id) |
| 637 | printk(KERN_WARNING "smp_send_stop: Not on boot cpu.\n"); | 637 | printk(KERN_WARNING "smp_send_stop: Not on boot cpu.\n"); |
| 638 | #endif | 638 | #endif |
| 639 | send_ipi_message(to_whom, IPI_CPU_STOP); | 639 | send_ipi_message(&to_whom, IPI_CPU_STOP); |
| 640 | } | 640 | } |
| 641 | 641 | ||
| 642 | void arch_send_call_function_ipi(cpumask_t mask) | 642 | void arch_send_call_function_ipi_mask(const struct cpumask *mask) |
| 643 | { | 643 | { |
| 644 | send_ipi_message(mask, IPI_CALL_FUNC); | 644 | send_ipi_message(mask, IPI_CALL_FUNC); |
| 645 | } | 645 | } |
| 646 | 646 | ||
| 647 | void arch_send_call_function_single_ipi(int cpu) | 647 | void arch_send_call_function_single_ipi(int cpu) |
| 648 | { | 648 | { |
| 649 | send_ipi_message(cpumask_of_cpu(cpu), IPI_CALL_FUNC_SINGLE); | 649 | send_ipi_message(cpumask_of(cpu), IPI_CALL_FUNC_SINGLE); |
| 650 | } | 650 | } |
| 651 | 651 | ||
| 652 | static void | 652 | static void |
