]> git.karo-electronics.de Git - mv-sheeva.git/commit
x86: cpumask: use work_on_cpu in arch/x86/kernel/microcode_core.c
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Mar 2009 06:02:36 +0000 (16:32 +1030)
committerIngo Molnar <mingo@elte.hu>
Wed, 18 Mar 2009 12:50:47 +0000 (13:50 +0100)
commitaf5c820a3169e81af869c113e18ec7588836cd50
tree6c4e08ab0c3854e418a0267cf96065b13546fa1c
parent30e1e6d1af2b67558bccf322af2b3e0676b209ae
x86: cpumask: use work_on_cpu in arch/x86/kernel/microcode_core.c

Impact: don't play with current's cpumask

Straightforward indirection through work_on_cpu().  One change is
that the error code from microcode_update_cpu() is now actually
plumbed back to microcode_init_cpu(), so now we printk if it fails
on cpu hotplug.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Dmitry Adamushko <dmitry.adamushko@gmail.com>
Cc: Peter Oruba <peter.oruba@amd.com>
LKML-Reference: <200903111632.37279.rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/microcode_core.c