x86: apic: Fixmap apic address even if apic disabled
authorCyrill Gorcunov <gorcunov@gmail.com>
Mon, 11 May 2009 13:41:40 +0000 (17:41 +0400)
committerIngo Molnar <mingo@elte.hu>
Mon, 11 May 2009 13:50:58 +0000 (15:50 +0200)
commitcec6be6d1069d697beb490bbb40a290d5ff554a2
tree43ef99d950545909d8dbc87cddb14e29789aa060
parent97a52714658cd959a3cfa35c5b6f489859f0204b
x86: apic: Fixmap apic address even if apic disabled

In case if apic were disabled by boot option
we still need read_apic operation. So fixmap
a fake apic area if needed.

[ Impact: fix boot crash ]

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: yinghai@kernel.org
Cc: eswierk@aristanetworks.com
LKML-Reference: <20090511134140.GH4624@lenovo>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/apic.c