diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 21:14:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 21:14:11 -0400 |
commit | 94a8d5caba74211ec76dac80fc6e2d5c391530df (patch) | |
tree | 21d17d214a354ae00ae27217d82b67bfc5bff3a3 /arch/alpha/kernel | |
parent | 2bcd57ab61e7cabed626226a3771617981c11ce1 (diff) | |
parent | 6ba2ef7baac23a5d9bb85e28b882d16b439a2293 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus
* git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus: (39 commits)
cpumask: Move deprecated functions to end of header.
cpumask: remove unused deprecated functions, avoid accusations of insanity
cpumask: use new-style cpumask ops in mm/quicklist.
cpumask: use mm_cpumask() wrapper: x86
cpumask: use mm_cpumask() wrapper: um
cpumask: use mm_cpumask() wrapper: mips
cpumask: use mm_cpumask() wrapper: mn10300
cpumask: use mm_cpumask() wrapper: m32r
cpumask: use mm_cpumask() wrapper: arm
cpumask: Use accessors for cpu_*_mask: um
cpumask: Use accessors for cpu_*_mask: powerpc
cpumask: Use accessors for cpu_*_mask: mips
cpumask: Use accessors for cpu_*_mask: m32r
cpumask: remove arch_send_call_function_ipi
cpumask: arch_send_call_function_ipi_mask: s390
cpumask: arch_send_call_function_ipi_mask: powerpc
cpumask: arch_send_call_function_ipi_mask: mips
cpumask: arch_send_call_function_ipi_mask: m32r
cpumask: arch_send_call_function_ipi_mask: alpha
cpumask: remove obsolete topology_core_siblings and topology_thread_siblings: ia64
...
Diffstat (limited to 'arch/alpha/kernel')
-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 b1fe5674c3a1..42aa078a5e4d 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 |