x86: Fix and clean up generic_processor_info()
authorYinghai Lu <yinghai@kernel.org>
Wed, 9 Feb 2011 07:22:17 +0000 (23:22 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 14 Feb 2011 12:23:51 +0000 (13:23 +0100)
commite5fea868e6c04343e501176a373d568c1c0094aa
treed552a38f46eac4ff8f97ef6229f7dd4eeb54d602
parent91e04ec05838a5b2c790decf2a91af98cb1666e8
x86: Fix and clean up generic_processor_info()

One of the error printouts in generic_processor_info() prints out
the APIC version instead of the cpu index the warning text describes.

Move version validation down, after we get the right cpu index.

-v2: add comments about reason why we can have cpu=0 there.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <4D5240A9.4080703@kernel.org>
[ Cleaned up and made the BIOS bug printouts more consistent ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/apic.c