aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/traps_32.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-01-30 07:33:49 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:33:49 -0500
commit927222b102186a6cc3e43e25062fcd18c800435e (patch)
tree6a0d1409d6bf8f3a50ceb4fd057eb4bd9a375b1a /arch/x86/kernel/traps_32.c
parentd701fda8601fe267fbd3648f108f0e751305101b (diff)
x86: fix EISA ioremap
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/traps_32.c')
-rw-r--r--arch/x86/kernel/traps_32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c
index 8534cb53ff60..3cf72977d012 100644
--- a/arch/x86/kernel/traps_32.c
+++ b/arch/x86/kernel/traps_32.c
@@ -1142,11 +1142,11 @@ void __init trap_init(void)
1142 int i; 1142 int i;
1143 1143
1144#ifdef CONFIG_EISA 1144#ifdef CONFIG_EISA
1145 void __iomem *p = ioremap(0x0FFFD9, 4); 1145 void __iomem *p = early_ioremap(0x0FFFD9, 4);
1146 if (readl(p) == 'E'+('I'<<8)+('S'<<16)+('A'<<24)) { 1146 if (readl(p) == 'E'+('I'<<8)+('S'<<16)+('A'<<24)) {
1147 EISA_bus = 1; 1147 EISA_bus = 1;
1148 } 1148 }
1149 iounmap(p); 1149 early_iounmap(p, 4);
1150#endif 1150#endif
1151 1151
1152#ifdef CONFIG_X86_LOCAL_APIC 1152#ifdef CONFIG_X86_LOCAL_APIC