]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: remove smp_apply_quirks()/smp_checks()
authorYinghai Lu <yinghai@kernel.org>
Sun, 8 Mar 2009 07:46:26 +0000 (23:46 -0800)
committerIngo Molnar <mingo@elte.hu>
Sun, 8 Mar 2009 15:22:56 +0000 (16:22 +0100)
commit1f442d70c84aa798e243e721eba728a98434cd86
treeb9797ff67b07415816438df8c9ddd4f7842283bb
parent31bbed527e7039203920c51c9fb48c27aed0820c
x86: remove smp_apply_quirks()/smp_checks()

Impact: cleanup and code size reduction on 64-bit

This code is only applied to Intel Pentium and AMD K7 32-bit cpus.

Move those checks to intel_init()/amd_init() for 32-bit
so 64-bit will not build this code.

Also change to use cpu_index check to see if we need to emit warning.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <49B377D2.8030108@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/amd.c
arch/x86/kernel/cpu/intel.c
arch/x86/kernel/smpboot.c