Skip to content

Commit

Permalink
x86: fix EISA ioremap
Browse files Browse the repository at this point in the history
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Ingo Molnar committed Jan 30, 2008
1 parent d701fda commit 927222b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/kernel/traps_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 927222b

Please sign in to comment.