Commit 2b03a2af authored by David S. Miller's avatar David S. Miller

[SPARC64]: Kill TLB rtrap debug code.

parent 963819eb
...@@ -153,10 +153,6 @@ __handle_signal: ...@@ -153,10 +153,6 @@ __handle_signal:
rtrap_irq: rtrap_irq:
rtrap_clr_l6: clr %l6 rtrap_clr_l6: clr %l6
rtrap: rtrap:
#if 1
call tlb_batch_rtrap_debug
add %sp, PTREGS_OFF, %o0
#endif
ldub [%g6 + TI_CPU], %l0 ldub [%g6 + TI_CPU], %l0
sethi %hi(irq_stat), %l2 ! &softirq_active sethi %hi(irq_stat), %l2 ! &softirq_active
or %l2, %lo(irq_stat), %l2 ! &softirq_active or %l2, %lo(irq_stat), %l2 ! &softirq_active
......
...@@ -41,21 +41,6 @@ void flush_tlb_pending(void) ...@@ -41,21 +41,6 @@ void flush_tlb_pending(void)
} }
} }
void tlb_batch_rtrap_debug(struct pt_regs *regs)
{
/* If we are returning to userspace and have pending
* tlb batch work on this processor, all hope is lost.
*/
if (!(regs->tstate & TSTATE_PRIV)) {
struct mmu_gather *mp = &get_cpu_var(mmu_gathers);
if (mp->tlb_nr)
BUG();
put_cpu_var(mmu_gathers);
}
}
void tlb_batch_add(pte_t *ptep, pte_t orig) void tlb_batch_add(pte_t *ptep, pte_t orig)
{ {
struct mmu_gather *mp = &__get_cpu_var(mmu_gathers); struct mmu_gather *mp = &__get_cpu_var(mmu_gathers);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment