diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-03-01 02:38:38 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 04:55:07 -0400 |
commit | 1e8a8cc52daa95e702303ca3ce67955a4c051d7d (patch) | |
tree | 8008f55f6d3c3f83b8512e9f02aa864482271f37 /arch/sparc64 | |
parent | a2fb23af1c31ad6e0c281e56d385f803229d57fa (diff) |
[SPARC64]: Internalize pci_memspace_mask.
The only user was bus_dvma_to_mem() which is no longer used
by any driver, so kill that, and the export of pci_memspace_mask.
The only user now is the PCI mmap support code.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64')
-rw-r--r-- | arch/sparc64/kernel/pci.c | 2 | ||||
-rw-r--r-- | arch/sparc64/kernel/pci_impl.h | 1 | ||||
-rw-r--r-- | arch/sparc64/kernel/sparc64_ksyms.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c index 246b8009a2b4..ec0d12a48c2b 100644 --- a/arch/sparc64/kernel/pci.c +++ b/arch/sparc64/kernel/pci.c | |||
@@ -27,6 +27,8 @@ | |||
27 | #include <asm/isa.h> | 27 | #include <asm/isa.h> |
28 | #include <asm/prom.h> | 28 | #include <asm/prom.h> |
29 | 29 | ||
30 | #include "pci_impl.h" | ||
31 | |||
30 | unsigned long pci_memspace_mask = 0xffffffffUL; | 32 | unsigned long pci_memspace_mask = 0xffffffffUL; |
31 | 33 | ||
32 | #ifndef CONFIG_PCI | 34 | #ifndef CONFIG_PCI |
diff --git a/arch/sparc64/kernel/pci_impl.h b/arch/sparc64/kernel/pci_impl.h index ea8a6bd146ae..c4ba702e1fd9 100644 --- a/arch/sparc64/kernel/pci_impl.h +++ b/arch/sparc64/kernel/pci_impl.h | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <asm/prom.h> | 13 | #include <asm/prom.h> |
14 | 14 | ||
15 | extern struct pci_controller_info *pci_controller_root; | 15 | extern struct pci_controller_info *pci_controller_root; |
16 | extern unsigned long pci_memspace_mask; | ||
16 | 17 | ||
17 | extern int pci_num_controllers; | 18 | extern int pci_num_controllers; |
18 | 19 | ||
diff --git a/arch/sparc64/kernel/sparc64_ksyms.c b/arch/sparc64/kernel/sparc64_ksyms.c index beffc82a1e85..d00f51a5683f 100644 --- a/arch/sparc64/kernel/sparc64_ksyms.c +++ b/arch/sparc64/kernel/sparc64_ksyms.c | |||
@@ -212,7 +212,6 @@ EXPORT_SYMBOL(insl); | |||
212 | #ifdef CONFIG_PCI | 212 | #ifdef CONFIG_PCI |
213 | EXPORT_SYMBOL(ebus_chain); | 213 | EXPORT_SYMBOL(ebus_chain); |
214 | EXPORT_SYMBOL(isa_chain); | 214 | EXPORT_SYMBOL(isa_chain); |
215 | EXPORT_SYMBOL(pci_memspace_mask); | ||
216 | EXPORT_SYMBOL(pci_alloc_consistent); | 215 | EXPORT_SYMBOL(pci_alloc_consistent); |
217 | EXPORT_SYMBOL(pci_free_consistent); | 216 | EXPORT_SYMBOL(pci_free_consistent); |
218 | EXPORT_SYMBOL(pci_map_single); | 217 | EXPORT_SYMBOL(pci_map_single); |