Skip to content
Commit cc26ebbe authored by Tony Luck's avatar Tony Luck Committed by Linus Torvalds
Browse files

ia64: Fix kernel BUG at lib/ioremap.c:72!



Commit 0bbf47ea ("ia64: use asm-generic/io.h") results in a BUG
while booting ia64.  This is because asm-generic/io.h defines
PCI_IOBASE, which results in the function acpi_pci_root_remap_iospace()
doing a lot of unnecessary (and wrong) things.

I'd suggested an #if !CONFIG_IA64 in the functon, but Arnd suggested
keeping the fix inside the arch/ia64 tree.

Fixes: 0bbf47ea ("ia64: use asm-generic/io.h")
Suggested-by: default avatarArnd Bergman <arnd@arndb.de>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8fdd36d4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment