commit | dc81df244028e0d07c8723e3f7ebd1a35e848293 | [log] [tgz] |
---|---|---|
author | Vineet Gupta <vgupta@synopsys.com> | Mon Jun 17 14:33:15 2013 +0530 |
committer | Vineet Gupta <vgupta@synopsys.com> | Thu Jun 27 14:37:57 2013 +0530 |
tree | 40aafc02150025631b15dc514469ff74318e71e6 | |
parent | c3e757a77cab461d11cd3e365d700e8c8fb3fae0 [diff] |
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>