diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-05-08 03:30:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:13 -0400 |
commit | 0bb5e19d63cc1b09aed8aef3a20926ac435bb8e7 (patch) | |
tree | c6b2a03259a86ca96d3fac02fc0f2f05220e6682 /include/asm-frv/pgtable.h | |
parent | 53f049fa5f18730b61faaee582ea0e045fd44f49 (diff) |
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-frv/pgtable.h')
-rw-r--r-- | include/asm-frv/pgtable.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-frv/pgtable.h b/include/asm-frv/pgtable.h index 8a05aa168616..2687c7715120 100644 --- a/include/asm-frv/pgtable.h +++ b/include/asm-frv/pgtable.h | |||
@@ -509,10 +509,6 @@ static inline int pte_file(pte_t pte) | |||
509 | #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ | 509 | #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ |
510 | remap_pfn_range(vma, vaddr, pfn, size, prot) | 510 | remap_pfn_range(vma, vaddr, pfn, size, prot) |
511 | 511 | ||
512 | #define MK_IOSPACE_PFN(space, pfn) (pfn) | ||
513 | #define GET_IOSPACE(pfn) 0 | ||
514 | #define GET_PFN(pfn) (pfn) | ||
515 | |||
516 | #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG | 512 | #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG |
517 | #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_DIRTY | 513 | #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_DIRTY |
518 | #define __HAVE_ARCH_PTEP_GET_AND_CLEAR | 514 | #define __HAVE_ARCH_PTEP_GET_AND_CLEAR |