diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /arch/mips/mm/cache.c | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'arch/mips/mm/cache.c')
-rw-r--r-- | arch/mips/mm/cache.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/mips/mm/cache.c b/arch/mips/mm/cache.c index 07cec4407b0..12af739048f 100644 --- a/arch/mips/mm/cache.c +++ b/arch/mips/mm/cache.c | |||
@@ -35,11 +35,6 @@ void (*local_flush_icache_range)(unsigned long start, unsigned long end); | |||
35 | void (*__flush_cache_vmap)(void); | 35 | void (*__flush_cache_vmap)(void); |
36 | void (*__flush_cache_vunmap)(void); | 36 | void (*__flush_cache_vunmap)(void); |
37 | 37 | ||
38 | void (*__flush_kernel_vmap_range)(unsigned long vaddr, int size); | ||
39 | void (*__invalidate_kernel_vmap_range)(unsigned long vaddr, int size); | ||
40 | |||
41 | EXPORT_SYMBOL_GPL(__flush_kernel_vmap_range); | ||
42 | |||
43 | /* MIPS specific cache operations */ | 38 | /* MIPS specific cache operations */ |
44 | void (*flush_cache_sigtramp)(unsigned long addr); | 39 | void (*flush_cache_sigtramp)(unsigned long addr); |
45 | void (*local_flush_data_cache_page)(void * addr); | 40 | void (*local_flush_data_cache_page)(void * addr); |
@@ -142,7 +137,7 @@ EXPORT_SYMBOL(_page_cachable_default); | |||
142 | 137 | ||
143 | static inline void setup_protection_map(void) | 138 | static inline void setup_protection_map(void) |
144 | { | 139 | { |
145 | if (cpu_has_rixi) { | 140 | if (kernel_uses_smartmips_rixi) { |
146 | protection_map[0] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); | 141 | protection_map[0] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); |
147 | protection_map[1] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); | 142 | protection_map[1] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); |
148 | protection_map[2] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); | 143 | protection_map[2] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); |