Skip to content

Commit

Permalink
arch/tile: remove useless set_fixmap_nocache() macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chris Metcalf committed Jun 15, 2011
1 parent 93ea927 commit cf8e98d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/tile/include/asm/fixmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,6 @@ extern void __set_fixmap(enum fixed_addresses idx,

#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))

Expand Down

0 comments on commit cf8e98d

Please sign in to comment.