i386: do cpuid_device_create() in CPU_UP_PREPARE instead of CPU_ONLINE.
authorAkinobu Mita <akinobu.mita@gmail.com>
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)
commit1f503e7743df91eb6f63af27c310c557edfc3307
treedf421c1614981c997b885ae2b3e6425636b1fa6c
parent66d16ed45d19600abd72dbd55bd2018437b24b73
i386: do cpuid_device_create() in CPU_UP_PREPARE instead of CPU_ONLINE.

Do cpuid_device_create() in CPU_UP_PREPARE instead of CPU_ONLINE.

[ tglx: arch/x86 adaptation ]

Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Gautham R Shenoy <ego@in.ibm.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpuid.c