summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2003-01-02 19:02:27 -0800
committerDavid S. Miller <davem@nuts.ninka.net>2003-01-02 19:02:27 -0800
commit5ef6ba8848cabe4ac6b48c866ae569a3da85af28 (patch)
treeacaadeb524ad3149050d3ed0f2fad319c533a766 /include
parent948ccffce8d95964ce176020bf652e31bc92abb4 (diff)
[PATCH] I/O APIC confusion
Dell 2600 could not bring up its MPT Fusion and hung there: I/O APIC #7 at 0xFEC82000 was muddled with #8 at 0xFEC82800, because the IO_APIC_BASE fixmap macro assumed page boundary. No longer do I think all those I/O APIC messages at startup a waste of log buffer!
Diffstat (limited to 'include')
-rw-r--r--include/asm-i386/io_apic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-i386/io_apic.h b/include/asm-i386/io_apic.h
index 500053c36f82..57d8cf06ddc5 100644
--- a/include/asm-i386/io_apic.h
+++ b/include/asm-i386/io_apic.h
@@ -16,7 +16,8 @@
#define APIC_MISMATCH_DEBUG
#define IO_APIC_BASE(idx) \
- ((volatile int *)__fix_to_virt(FIX_IO_APIC_BASE_0 + idx))
+ ((volatile int *)(__fix_to_virt(FIX_IO_APIC_BASE_0 + idx) \
+ + (mp_ioapics[idx].mpc_apicaddr & ~PAGE_MASK)))
/*
* The structure of the IO-APIC: