sh: pci memory range checking code
authorMagnus Damm <magnus.damm@gmail.com>
Tue, 19 Feb 2008 12:35:22 +0000 (21:35 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 16 Apr 2009 07:00:14 +0000 (16:00 +0900)
commitef339f241b08a16af58897e6288ba200e0c7a8c7
tree6e9984ccbccc87017c3beb97567002926b5ae549
parentef53fdeb7e0cb139aff33665635b886700137abb
sh: pci memory range checking code

This patch changes the code to use __is_pci_memory() instead of
is_pci_memaddr(). __is_pci_memory() loops through all the pci
channels on the system to match memory windows.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-titan/io.c
arch/sh/drivers/pci/pci.c
arch/sh/include/asm/pci.h
arch/sh/mm/ioremap_32.c