Clean up mostly unused IOSPACE macros
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 8 May 2007 07:30:57 +0000 (00:30 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:13 +0000 (11:15 -0700)
commit0bb5e19d63cc1b09aed8aef3a20926ac435bb8e7
treec6b2a03259a86ca96d3fac02fc0f2f05220e6682
parent53f049fa5f18730b61faaee582ea0e045fd44f49
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>
18 files changed:
include/asm-alpha/pgtable.h
include/asm-arm/pgtable-nommu.h
include/asm-arm/pgtable.h
include/asm-arm26/pgtable.h
include/asm-avr32/pgtable.h
include/asm-frv/pgtable.h
include/asm-h8300/pgtable.h
include/asm-i386/pgtable.h
include/asm-ia64/pgtable.h
include/asm-m32r/pgtable.h
include/asm-m68k/pgtable.h
include/asm-m68knommu/pgtable.h
include/asm-mips/pgtable.h
include/asm-parisc/pgtable.h
include/asm-ppc/pgtable.h
include/asm-sh/pgtable.h
include/asm-sh64/pgtable.h
include/asm-x86_64/pgtable.h