diff options
Diffstat (limited to 'arch/sh/mm/cache-sh7705.c')
-rw-r--r-- | arch/sh/mm/cache-sh7705.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/cache-sh7705.c b/arch/sh/mm/cache-sh7705.c index ad8ed7d41e16..bf94eedb0a8e 100644 --- a/arch/sh/mm/cache-sh7705.c +++ b/arch/sh/mm/cache-sh7705.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | #define __pte_offset(address) \ | 31 | #define __pte_offset(address) \ |
32 | ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) | 32 | ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) |
33 | #define pte_offset(dir, address) ((pte_t *) pmd_page_kernel(*(dir)) + \ | 33 | #define pte_offset(dir, address) ((pte_t *) pmd_page_vaddr(*(dir)) + \ |
34 | __pte_offset(address)) | 34 | __pte_offset(address)) |
35 | 35 | ||
36 | static inline void cache_wback_all(void) | 36 | static inline void cache_wback_all(void) |