]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARC: [tlb-miss] Fix bug with CONFIG_ARC_DBG_TLB_MISS_COUNT
authorVineet Gupta <vgupta@synopsys.com>
Mon, 17 Jun 2013 09:03:15 +0000 (14:33 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 17 Jun 2013 13:02:26 +0000 (18:32 +0530)
commit7187dec5ca18b5af7565bcb3f1748343a422a6b4
tree655078188ed7a5dba939371f3ee257a7e6b7a6a7
parent9a4f832e3d7ca5b052ecc5acf7bb0fa8b33f739e
ARC: [tlb-miss] Fix bug with CONFIG_ARC_DBG_TLB_MISS_COUNT

LOAD_FAULT_PTE macro is expected to set r2 with faulting vaddr.
However in case of CONFIG_ARC_DBG_TLB_MISS_COUNT, it was getting
clobbered with statistics collection code.

Fix latter by using a different register.

Note that only I-TLB Miss handler was potentially affected.

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