diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-02-28 23:38:38 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:55:07 -0700 |
commit | 1e8a8cc52daa95e702303ca3ce67955a4c051d7d (patch) | |
tree | 8008f55f6d3c3f83b8512e9f02aa864482271f37 /include/asm-sparc64/io.h | |
parent | a2fb23af1c31ad6e0c281e56d385f803229d57fa (diff) | |
download | blackbird-op-linux-1e8a8cc52daa95e702303ca3ce67955a4c051d7d.tar.gz blackbird-op-linux-1e8a8cc52daa95e702303ca3ce67955a4c051d7d.zip |
[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 'include/asm-sparc64/io.h')
-rw-r--r-- | include/asm-sparc64/io.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-sparc64/io.h b/include/asm-sparc64/io.h index 30b912d8e8bc..ad595b679842 100644 --- a/include/asm-sparc64/io.h +++ b/include/asm-sparc64/io.h @@ -24,14 +24,6 @@ extern unsigned long kern_base, kern_size; #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) #define BIO_VMERGE_BOUNDARY 8192 -/* Different PCI controllers we support have their PCI MEM space - * mapped to an either 2GB (Psycho) or 4GB (Sabre) aligned area, - * so need to chop off the top 33 or 32 bits. - */ -extern unsigned long pci_memspace_mask; - -#define bus_dvma_to_mem(__vaddr) ((__vaddr) & pci_memspace_mask) - static __inline__ u8 _inb(unsigned long addr) { u8 ret; |