aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-12-10 22:48:17 -0500
committerPaul Mackerras <paulus@samba.org>2007-12-10 23:43:34 -0500
commit25e81f925d4be0a0f60520e1c3c1b5af744404e1 (patch)
tree708cfc7238b80eef10f6353c97baf47df38870e2 /arch
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')
-rw-r--r--arch/powerpc/kernel/pci-common.c3
-rw-r--r--arch/powerpc/kernel/pci_32.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c
index 2f3f30efffed..bea11df0a79b 100644
--- a/arch/powerpc/kernel/pci-common.c
+++ b/arch/powerpc/kernel/pci-common.c
@@ -50,6 +50,9 @@ static DEFINE_SPINLOCK(hose_spinlock);
50/* XXX kill that some day ... */ 50/* XXX kill that some day ... */
51static int global_phb_number; /* Global phb counter */ 51static int global_phb_number; /* Global phb counter */
52 52
53/* ISA Memory physical address */
54resource_size_t isa_mem_base;
55
53 56
54struct pci_controller *pcibios_alloc_controller(struct device_node *dev) 57struct pci_controller *pcibios_alloc_controller(struct device_node *dev)
55{ 58{
diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c
index 096c97e03aa6..a33c2820c200 100644
--- a/arch/powerpc/kernel/pci_32.c
+++ b/arch/powerpc/kernel/pci_32.c
@@ -32,7 +32,6 @@
32#endif 32#endif
33 33
34unsigned long isa_io_base = 0; 34unsigned long isa_io_base = 0;
35unsigned long isa_mem_base = 0;
36unsigned long pci_dram_offset = 0; 35unsigned long pci_dram_offset = 0;
37int pcibios_assign_bus_offset = 1; 36int pcibios_assign_bus_offset = 1;
38 37