diff options
author | Steven J. Hill <sjhill@mips.com> | 2012-09-13 23:51:46 +0200 |
---|---|---|
committer | Steven J. Hill <sjhill@mips.com> | 2012-09-14 00:00:34 +0200 |
commit | 05857c64ecf897209c16ffad9bb3e8d359dd5dca (patch) | |
tree | e62c65d30be08409bb48ac6f9969ef083443e0aa /arch/mips/mm/tlb-r4k.c | |
parent | MIPS: Add base architecture support for RI and XI. (diff) | |
download | linux-05857c64ecf897209c16ffad9bb3e8d359dd5dca.tar.xz linux-05857c64ecf897209c16ffad9bb3e8d359dd5dca.zip |
MIPS: Replace 'kernel_uses_smartmips_rixi' with 'cpu_has_rixi'.
Remove usage of the 'kernel_uses_smartmips_rixi' macro from all files
and use new 'cpu_has_rixi' instead.
Signed-off-by: Steven J. Hill <sjhill@mips.com>
Acked-by: David Daney <david.daney@cavium.com>
Diffstat (limited to 'arch/mips/mm/tlb-r4k.c')
-rw-r--r-- | arch/mips/mm/tlb-r4k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/tlb-r4k.c b/arch/mips/mm/tlb-r4k.c index d2572cb232db..87b9cfcc30ff 100644 --- a/arch/mips/mm/tlb-r4k.c +++ b/arch/mips/mm/tlb-r4k.c @@ -401,7 +401,7 @@ void __cpuinit tlb_init(void) current_cpu_type() == CPU_R14000) write_c0_framemask(0); - if (kernel_uses_smartmips_rixi) { + if (cpu_has_rixi) { /* * Enable the no read, no exec bits, and enable large virtual * address. |