]> git.karo-electronics.de Git - karo-tx-linux.git/commit
IXP4xx: Fix compilation failure with CONFIG_IXP4XX_INDIRECT_PCI.
authorKrzysztof Hałasa <khc@pm.waw.pl>
Sun, 15 Nov 2009 00:25:06 +0000 (01:25 +0100)
committerKrzysztof Hałasa <khc@pm.waw.pl>
Sat, 5 Dec 2009 15:58:39 +0000 (16:58 +0100)
commitcba362221b12b102dff1f21b291fdc7b93e24a18
tree4cd021ffb805b601292ab785b84c92ea48529fae
parent58e570d1182a9dc3bc52d8dc508c6bd5b2d279c7
IXP4xx: Fix compilation failure with CONFIG_IXP4XX_INDIRECT_PCI.

Instead of including the heavy linux/mm.h for VMALLOC_START, test the addresses
against PCI MIN and MAX addresses. Indirect PCI uses 1:1 mapping for MMIO space
making this change possible.

Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
arch/arm/mach-ixp4xx/include/mach/io.h