]> git.baikalelectronics.ru Git - kernel.git/commit
ia64: Fix kernel BUG at lib/ioremap.c:72!
authorTony Luck <tony.luck@intel.com>
Mon, 20 Aug 2018 16:31:04 +0000 (09:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Aug 2018 19:22:48 +0000 (12:22 -0700)
commitda491c477b0f91093b5c71045c0a199e30e5fec0
treed056c73be8a3359e6c1102be867d0bc497327163
parent313f23f8b4ee78950bd34549ab0593bd95b36821
ia64: Fix kernel BUG at lib/ioremap.c:72!

Commit 0d456b5a7bdf ("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: 0d456b5a7bdf ("ia64: use asm-generic/io.h")
Suggested-by: Arnd Bergman <arnd@arndb.de>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/include/asm/io.h