arch/tile: remove useless set_fixmap_nocache() macro
authorChris Metcalf <cmetcalf@tilera.com>
Wed, 15 Jun 2011 14:35:38 +0000 (10:35 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Wed, 15 Jun 2011 14:35:38 +0000 (10:35 -0400)
TILE doesn't support PAGE_KERNEL_NOCACHE so the macro isn't useful;
it's a copy-and-paste from the first version of this header in 2007.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/include/asm/fixmap.h

index 51537ff..c66f793 100644 (file)
@@ -75,12 +75,6 @@ extern void __set_fixmap(enum fixed_addresses idx,
 
 #define set_fixmap(idx, phys) \
                __set_fixmap(idx, phys, PAGE_KERNEL)
 
 #define set_fixmap(idx, phys) \
                __set_fixmap(idx, phys, PAGE_KERNEL)
-/*
- * Some hardware wants to get fixmapped without caching.
- */
-#define set_fixmap_nocache(idx, phys) \
-               __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE)
-
 #define clear_fixmap(idx) \
                __set_fixmap(idx, 0, __pgprot(0))
 
 #define clear_fixmap(idx) \
                __set_fixmap(idx, 0, __pgprot(0))