aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/pci-common.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-12-11 14:48:17 +1100
committerPaul Mackerras <paulus@samba.org>2007-12-11 15:43:34 +1100
commit25e81f925d4be0a0f60520e1c3c1b5af744404e1 (patch)
tree708cfc7238b80eef10f6353c97baf47df38870e2 /arch/powerpc/kernel/pci-common.c
parentcfad589f565bdaa69d45fb1c0db124727a6eaf6e (diff)
[POWERPC] Make isa_mem_base common to 32 and 64 bits
This defines isa_mem_base on both 32 and 64 bits (it used to be 32 bits only). This avoids a few ifdef's in later patches and potentially can allow support for VGA text mode on 64 bits powerpc. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/pci-common.c')
-rw-r--r--arch/powerpc/kernel/pci-common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c
index 2f3f30efffe..bea11df0a79 100644
--- a/arch/powerpc/kernel/pci-common.c
+++ b/arch/powerpc/kernel/pci-common.c
@@ -50,6 +50,9 @@ static DEFINE_SPINLOCK(hose_spinlock);
/* XXX kill that some day ... */
static int global_phb_number; /* Global phb counter */
+/* ISA Memory physical address */
+resource_size_t isa_mem_base;
+
struct pci_controller *pcibios_alloc_controller(struct device_node *dev)
{