x86-microcode: fix unbalanced use of get_cpu()
commit8343ef2437c599d30568e6b5a257a40bf2f4902b
authorDmitry Adamushko <dmitry.adamushko@gmail.com>
Tue, 19 Aug 2008 22:16:13 +0000 (20 00:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 20 Aug 2008 10:18:55 +0000 (20 12:18 +0200)
treed7d2dc700536b628aea8e85aca113869263dde09
parent636a31781684d0f49208aa163f1a5a3a74210eb4
x86-microcode: fix unbalanced use of get_cpu()

Don't use get_cpu() at all. Resort to checking a boot-up CPU (#0) in
microcode_{intel,amd}_module_init().

Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/microcode_amd.c
arch/x86/kernel/microcode_intel.c