Skip to content
Commit dc81df24 authored by Vineet Gupta's avatar Vineet Gupta
Browse files

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: default avatarVineet Gupta <vgupta@synopsys.com>
parent c3e757a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment