From: Ingo Molnar Date: Wed, 30 Jan 2008 12:33:49 +0000 (+0100) Subject: x86: fix EISA ioremap X-Git-Tag: v2.6.25-rc1~1143^2~121 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=927222b102186a6cc3e43e25062fcd18c800435e;p=linux-2.6 x86: fix EISA ioremap Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c index 8534cb53ff..3cf72977d0 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