diff options
author | David Gibson | 2007-05-08 09:30:57 +0200 |
---|---|---|
committer | Linus Torvalds | 2007-05-08 20:15:13 +0200 |
commit | 0bb5e19d63cc1b09aed8aef3a20926ac435bb8e7 (patch) | |
tree | c6b2a03259a86ca96d3fac02fc0f2f05220e6682 /include/asm-m32r | |
parent | kill warnings when building mandocs (diff) | |
download | kernel-qcow2-linux-0bb5e19d63cc1b09aed8aef3a20926ac435bb8e7.tar.gz kernel-qcow2-linux-0bb5e19d63cc1b09aed8aef3a20926ac435bb8e7.tar.xz kernel-qcow2-linux-0bb5e19d63cc1b09aed8aef3a20926ac435bb8e7.zip |
Clean up mostly unused IOSPACE macros
Most architectures defined three macros, MK_IOSPACE_PFN(), GET_IOSPACE()
and GET_PFN() in pgtable.h. However, the only callers of any of these
macros are in Sparc specific code, either in arch/sparc, arch/sparc64 or
drivers/sbus.
This patch removes the redundant macros from all architectures except
sparc and sparc64.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-m32r')
-rw-r--r-- | include/asm-m32r/pgtable.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-m32r/pgtable.h b/include/asm-m32r/pgtable.h index 1c15ba7ce319..8b2a2f17e695 100644 --- a/include/asm-m32r/pgtable.h +++ b/include/asm-m32r/pgtable.h @@ -381,10 +381,6 @@ static inline void pmd_set(pmd_t * pmdp, pte_t * ptep) #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ remap_pfn_range(vma, vaddr, pfn, size, prot) -#define MK_IOSPACE_PFN(space, pfn) (pfn) -#define GET_IOSPACE(pfn) 0 -#define GET_PFN(pfn) (pfn) - #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_DIRTY #define __HAVE_ARCH_PTEP_GET_AND_CLEAR |