diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:33:49 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:33:49 +0100 |
commit | 927222b102186a6cc3e43e25062fcd18c800435e (patch) | |
tree | 6a0d1409d6bf8f3a50ceb4fd057eb4bd9a375b1a /arch/x86/kernel | |
parent | d701fda8601fe267fbd3648f108f0e751305101b (diff) | |
download | blackbird-op-linux-927222b102186a6cc3e43e25062fcd18c800435e.tar.gz blackbird-op-linux-927222b102186a6cc3e43e25062fcd18c800435e.zip |
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')
-rw-r--r-- | arch/x86/kernel/traps_32.c | 4 |
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) int i; #ifdef CONFIG_EISA - void __iomem *p = ioremap(0x0FFFD9, 4); + void __iomem *p = early_ioremap(0x0FFFD9, 4); if (readl(p) == 'E'+('I'<<8)+('S'<<16)+('A'<<24)) { EISA_bus = 1; } - iounmap(p); + early_iounmap(p, 4); #endif #ifdef CONFIG_X86_LOCAL_APIC |