diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2012-09-28 10:25:52 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-09-28 10:25:52 -0400 |
commit | 77a0d763c461da81c2a3fc9a7e58162a40854a1a (patch) | |
tree | bc5ca1d08c8f9b98fd8c8726e88788d4fc618118 /arch/mips/mm/cache.c | |
parent | 8922c9b4b2e3b1b845b46e8da61ad228d8f1b121 (diff) | |
parent | 05857c64ecf897209c16ffad9bb3e8d359dd5dca (diff) |
Merge branch 'rixi-3.7' of git://git.linux-mips.org/pub/scm/sjhill/linux-sjhill into mips-for-linux-next
Diffstat (limited to 'arch/mips/mm/cache.c')
-rw-r--r-- | arch/mips/mm/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/cache.c b/arch/mips/mm/cache.c index 829320c7b175..07cec4407b0c 100644 --- a/arch/mips/mm/cache.c +++ b/arch/mips/mm/cache.c | |||
@@ -142,7 +142,7 @@ EXPORT_SYMBOL(_page_cachable_default); | |||
142 | 142 | ||
143 | static inline void setup_protection_map(void) | 143 | static inline void setup_protection_map(void) |
144 | { | 144 | { |
145 | if (kernel_uses_smartmips_rixi) { | 145 | if (cpu_has_rixi) { |
146 | protection_map[0] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); | 146 | 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); | 147 | 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); | 148 | protection_map[2] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_READ); |