diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2017-12-15 23:00:30 +0300 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2017-12-17 09:37:08 +0300 |
commit | c130d3be84afb9b5a30ce4f715f88a1c1dcc4114 (patch) | |
tree | b652eb85a8d7505423357b9b020e915c2a9e47b6 /arch/xtensa/mm/tlb.c | |
parent | 40d1a07b333ef1f7fce11ee20b8f4281d1a75fb9 (diff) | |
download | linux-c130d3be84afb9b5a30ce4f715f88a1c1dcc4114.tar.xz |
xtensa: clean up custom-controlled debug output
Replace #ifdef'fed/commented out debug printk statements with pr_debug.
Replace printk statements with pr_* equivalents.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/mm/tlb.c')
-rw-r--r-- | arch/xtensa/mm/tlb.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/xtensa/mm/tlb.c b/arch/xtensa/mm/tlb.c index 35c822286bbe..59153d0aa890 100644 --- a/arch/xtensa/mm/tlb.c +++ b/arch/xtensa/mm/tlb.c @@ -95,10 +95,8 @@ void local_flush_tlb_range(struct vm_area_struct *vma, if (mm->context.asid[cpu] == NO_CONTEXT) return; -#if 0 - printk("[tlbrange<%02lx,%08lx,%08lx>]\n", - (unsigned long)mm->context.asid[cpu], start, end); -#endif + pr_debug("[tlbrange<%02lx,%08lx,%08lx>]\n", + (unsigned long)mm->context.asid[cpu], start, end); local_irq_save(flags); if (end-start + (PAGE_SIZE-1) <= _TLB_ENTRIES << PAGE_SHIFT) { |