diff options
Diffstat (limited to 'arch/arc/mm/tlbex.S')
-rw-r--r-- | arch/arc/mm/tlbex.S | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/arc/mm/tlbex.S b/arch/arc/mm/tlbex.S index f1967eeb32e7..b30e4e36bb00 100644 --- a/arch/arc/mm/tlbex.S +++ b/arch/arc/mm/tlbex.S | |||
@@ -237,15 +237,6 @@ ex_saved_reg1: | |||
237 | 237 | ||
238 | 2: | 238 | 2: |
239 | 239 | ||
240 | #ifdef CONFIG_ARC_DBG_TLB_MISS_COUNT | ||
241 | and.f 0, r0, _PAGE_PRESENT | ||
242 | bz 1f | ||
243 | ld r3, [num_pte_not_present] | ||
244 | add r3, r3, 1 | ||
245 | st r3, [num_pte_not_present] | ||
246 | 1: | ||
247 | #endif | ||
248 | |||
249 | .endm | 240 | .endm |
250 | 241 | ||
251 | ;----------------------------------------------------------------- | 242 | ;----------------------------------------------------------------- |
@@ -309,12 +300,6 @@ ENTRY(EV_TLBMissI) | |||
309 | 300 | ||
310 | TLBMISS_FREEUP_REGS | 301 | TLBMISS_FREEUP_REGS |
311 | 302 | ||
312 | #ifdef CONFIG_ARC_DBG_TLB_MISS_COUNT | ||
313 | ld r0, [@numitlb] | ||
314 | add r0, r0, 1 | ||
315 | st r0, [@numitlb] | ||
316 | #endif | ||
317 | |||
318 | ;---------------------------------------------------------------- | 303 | ;---------------------------------------------------------------- |
319 | ; Get the PTE corresponding to V-addr accessed, r2 is setup with EFA | 304 | ; Get the PTE corresponding to V-addr accessed, r2 is setup with EFA |
320 | LOAD_FAULT_PTE | 305 | LOAD_FAULT_PTE |
@@ -349,12 +334,6 @@ ENTRY(EV_TLBMissD) | |||
349 | 334 | ||
350 | TLBMISS_FREEUP_REGS | 335 | TLBMISS_FREEUP_REGS |
351 | 336 | ||
352 | #ifdef CONFIG_ARC_DBG_TLB_MISS_COUNT | ||
353 | ld r0, [@numdtlb] | ||
354 | add r0, r0, 1 | ||
355 | st r0, [@numdtlb] | ||
356 | #endif | ||
357 | |||
358 | ;---------------------------------------------------------------- | 337 | ;---------------------------------------------------------------- |
359 | ; Get the PTE corresponding to V-addr accessed | 338 | ; Get the PTE corresponding to V-addr accessed |
360 | ; If PTE exists, it will setup, r0 = PTE, r1 = Ptr to PTE, r2 = EFA | 339 | ; If PTE exists, it will setup, r0 = PTE, r1 = Ptr to PTE, r2 = EFA |