Reuse more of the same definitions for the non-RIXI and RIXI cases. This[...]
avoids having special cases for kernel_uses_smartmips_rixi cluttering up
the pgtable*.h files.
On hardware that does not support RI/XI, EntryLo bits 31:30 / 63:62 will
remain unset and RI/XI permissions will not be enforced.
Signed-off-by: Kevin Cernekee<cernekee@xxxxxxxxx>
---
arch/mips/include/asm/pgtable-bits.h | 23 ++++++++---------------
arch/mips/include/asm/pgtable.h | 21 ++++++++-------------
arch/mips/mm/tlbex.c | 17 +++++------------
3 files changed, 21 insertions(+), 40 deletions(-)