diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-11-17 07:40:29 +0300 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2019-10-28 22:12:32 +0300 |
commit | ad4c40e937f6d6a08a579c4a78206039618426b7 (patch) | |
tree | 6aa267dceb8b36bde0b36433539d0766305b210b /arch/arc/mm | |
parent | f4e2f7cc6999943e0a649cbc4618428181aad58f (diff) | |
download | linux-ad4c40e937f6d6a08a579c4a78206039618426b7.tar.xz |
ARC: mm: tlb flush optim: Make TLBWriteNI fallback to TLBWrite if not available
TLBWriteNI was introduced in MMUv2 (to not invalidate uTLBs in Fast Path
TLB Refill Handler). To avoid #ifdef'ery make it fallback to TLBWrite availabel on all MMUs. This will also help with next change
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/mm')
-rw-r--r-- | arch/arc/mm/tlbex.S | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arc/mm/tlbex.S b/arch/arc/mm/tlbex.S index 4c88148d4cd1..2efaf6ca0c06 100644 --- a/arch/arc/mm/tlbex.S +++ b/arch/arc/mm/tlbex.S @@ -292,11 +292,7 @@ ex_saved_reg1: sr TLBGetIndex, [ARC_REG_TLBCOMMAND] /* Commit the Write */ -#if (CONFIG_ARC_MMU_VER >= 2) /* introduced in v2 */ sr TLBWriteNI, [ARC_REG_TLBCOMMAND] -#else - sr TLBWrite, [ARC_REG_TLBCOMMAND] -#endif #else sr TLBInsertEntry, [ARC_REG_TLBCOMMAND] |