From 0bb5e19d63cc1b09aed8aef3a20926ac435bb8e7 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Tue, 8 May 2007 00:30:57 -0700 Subject: 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 Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/asm-parisc/pgtable.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/asm-parisc/pgtable.h') diff --git a/include/asm-parisc/pgtable.h b/include/asm-parisc/pgtable.h index d7e1b10da5c6..beb2adb979d9 100644 --- a/include/asm-parisc/pgtable.h +++ b/include/asm-parisc/pgtable.h @@ -528,10 +528,6 @@ static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, #define pgprot_noncached(prot) __pgprot(pgprot_val(prot) | _PAGE_NO_CACHE) -#define MK_IOSPACE_PFN(space, pfn) (pfn) -#define GET_IOSPACE(pfn) 0 -#define GET_PFN(pfn) (pfn) - /* We provide our own get_unmapped_area to provide cache coherency */ #define HAVE_ARCH_UNMAPPED_AREA -- cgit v1.2.3-59-g8ed1b