x86: Allow platforms to force enable apic
authorThomas Gleixner <tglx@linutronix.de>
Tue, 19 Oct 2010 17:46:28 +0000 (10:46 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 23 Oct 2010 15:27:43 +0000 (17:27 +0200)
commit5a7ae78fd478624df3059cb6f55056b85d074acc
treebd5adc0bde70bc8e93e9ef1d1f124ecdff4538be
parentd4429f608abde89e8bc1e24b43cd503feb95c496
x86: Allow platforms to force enable apic

Some embedded x86 platforms don't setup the APIC in the
BIOS/bootloader and would be forced to add "lapic" on the kernel
command line. That's a bit akward.

Split out the force enable code from detect_init_APIC() and allow
platform code to call it from the platform setup. That avoids the
command line parameter and possible replication of the MSR dance in
the force enable code.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <1287510389-8388-1-git-send-email-dirk.brandewie@gmail.com>
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/apic.c