Remove remaining bits of io_remap_page_range()
authorJavi Merino <javi.merino@arm.com>
Fri, 23 Mar 2012 22:01:52 +0000 (15:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:31 +0000 (16:58 -0700)
Commit 33bf56106d9b ("feature removal of io_remap_page_range()") removed
io_remap_page_range(), but it is still included in some arch header
files.  It has no in-tree users.

Signed-off-by: Javi Merino <javi.merino@arm.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Aurelien Jacquiot <a-jacquiot@ti.com>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/include/asm/pgtable-nommu.h
arch/c6x/include/asm/pgtable.h
arch/microblaze/include/asm/pgtable.h
arch/openrisc/include/asm/pgtable.h

index ffc0e85775b4cff15586897cac32758dc0dda687..7ec60d6075bf47f94fbec24b3f5dd64014fd643b 100644 (file)
@@ -79,7 +79,6 @@ extern unsigned int kobjsize(const void *objp);
  * No page table caches to initialise.
  */
 #define pgtable_cache_init()   do { } while (0)
-#define io_remap_page_range    remap_page_range
 #define io_remap_pfn_range     remap_pfn_range
 
 
index 68c8af4f1f971ad9039ffd4ef659bebe0bf56273..38a4312eb2cb32482ff82b172e2a37136597bff2 100644 (file)
@@ -73,9 +73,6 @@ extern unsigned long empty_zero_page;
 #define pgtable_cache_init()   do { } while (0)
 #define io_remap_pfn_range      remap_pfn_range
 
-#define io_remap_page_range(vma, vaddr, paddr, size, prot)             \
-               remap_pfn_range(vma, vaddr, (paddr) >> PAGE_SHIFT, size, prot)
-
 #include <asm-generic/pgtable.h>
 
 #endif /* _ASM_C6X_PGTABLE_H */
index b2af42311a1267057d97c6fa4be27647c61a3fb9..44dc67aa02773d577ab606d04109763956512432 100644 (file)
@@ -543,8 +543,6 @@ extern unsigned long iopa(unsigned long addr);
 /* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
 #define kern_addr_valid(addr)  (1)
 
-#define io_remap_page_range remap_page_range
-
 /*
  * No page table caches to initialise
  */
index 043505d7f684c9ce292da8e1d8e67920f33e53f8..14c900cfd30a2f90e26e8a6ff5bf08097eacd5b1 100644 (file)
@@ -455,7 +455,6 @@ static inline void update_mmu_cache(struct vm_area_struct *vma,
  * No page table caches to initialise
  */
 #define pgtable_cache_init()           do { } while (0)
-#define io_remap_page_range            remap_page_range
 
 typedef pte_t *pte_addr_t;