]> 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>
Thu, 27 Jun 2013 09:07:57 +0000 (14:37 +0530)
commitdc81df244028e0d07c8723e3f7ebd1a35e848293
tree40aafc02150025631b15dc514469ff74318e71e6
parentc3e757a77cab461d11cd3e365d700e8c8fb3fae0
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