[PATCH] Fix modular cpuid.ko
commitb6a7c79a52939513ef043d6eb9fcf12a056c010e
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Tue, 4 Jul 2006 00:32:20 +0000 (3 17:32 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 4 Jul 2006 04:25:20 +0000 (3 21:25 -0700)
tree30cf12aeda448cbc9072b4db91cd93a6c3a9ecda
parent912b2539e1e062cec73e2e61448e507f7719bd08
[PATCH] Fix modular cpuid.ko

With recent change, if CONFIG_HOTPLUG_CPU is disabled,
register_cpu_notifier() is not exported.  And it breaked moduler msr/cpuid
(msr.c was already fixed).

We need to use register_hotcpu_notifier() now in module, instead of
register_cpu_notifier().

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpuid.c