[PATCH] ppc: Fix io.h for config with CONFIG_PCI not set
authorSylvain Munaut <tnt@246tNt.com>
Sat, 11 Nov 2006 09:53:19 +0000 (10:53 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 13 Nov 2006 03:49:25 +0000 (14:49 +1100)
commit19a79859e168640f8e16d7b216d211c1c52b687a
tree6a7d0467b26bd1470679b486899c48258a611b73
parentb61c5509fe8f6c665c146ab14f960000d4a5d1a9
[PATCH] ppc: Fix io.h for config with CONFIG_PCI not set

When CONFIG_PCI option is not set, the variables
pci_dram_offset, isa_io_base and isa_mem_base are not defined.

Currently, the test is handled in each platform header. This
patch moves the test in io.h once and for all.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/mpc85xx.h
include/asm-ppc/io.h
include/asm-ppc/mpc52xx.h
include/asm-ppc/mpc83xx.h
include/asm-ppc/mpc85xx.h