]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: implement missing x86_64 function smp_call_function_mask()
authorLaurent Vivier <Laurent.Vivier@bull.net>
Fri, 19 Oct 2007 18:35:03 +0000 (20:35 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 19 Oct 2007 18:35:03 +0000 (20:35 +0200)
commit66d16ed45d19600abd72dbd55bd2018437b24b73
tree3b9cf5ef34044bb4fa01c81b5aa1869813fc9fff
parent9d1c6e7c86ddc366d67f0c5fa77be9b93710037a
x86: implement missing x86_64 function smp_call_function_mask()

This patch defines the missing function smp_call_function_mask() for x86_64,
this is more or less a cut&paste of i386 function. It removes also some
duplicate code.

This function is needed by KVM to execute a function on some CPUs.

AK: Fixed description
AK: Moved WARN_ON(irqs_disabled) one level up to not warn in the panic case.
[ tglx: arch/x86 adaptation ]

Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/smp_64.c
include/asm-x86/smp_64.h