ARC: mm: TLB Miss optim: avoid re-reading ECR
authorVineet Gupta <vgupta@synopsys.com>
Thu, 29 Oct 2015 10:17:57 +0000 (15:47 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 28 Oct 2019 19:12:32 +0000 (12:12 -0700)
commitf4e2f7cc6999943e0a649cbc4618428181aad58f
tree096108e5cafeecd2dd1402a6e36dcb6abdf37803
parent0fb1f35ed9cc2115a88cc73a02e56d288bf2aa8f
ARC: mm: TLB Miss optim: avoid re-reading ECR

For setting PTE Dirty bit, reuse the prior test for ST miss.

No need to reload ECR and test for ST cause code as the prev
condition code is still valid (uncloberred)

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/mm/tlbex.S