ARC: [tlb-miss] Extraneous PTE bit testing/setting
authorVineet Gupta <vgupta@synopsys.com>
Mon, 17 Jun 2013 06:05:15 +0000 (11:35 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 27 Jun 2013 09:07:57 +0000 (14:37 +0530)
commitc3e757a77cab461d11cd3e365d700e8c8fb3fae0
tree24328b21614027ff1fc0f9ac1ddea5301736ce65
parent5a45da02cf040ae7eacc9da10f6e8e369a220863
ARC: [tlb-miss] Extraneous PTE bit testing/setting

* No need to check for READ access in I-TLB Miss handler

* Redundant PAGE_PRESENT update in PTE

Post TLB entry installation, in updating PTE for software accessed/dity
bits, no need to update PAGE_PRESENT since it will already be set.
Infact the entry won't have installed if !PAGE_PRESENT.

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