diff options
author | Jiri Kosina <jkosina@suse.cz> | 2009-10-09 11:55:18 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-11-09 09:40:57 +0100 |
commit | 7a7236e0f3f836439442e9161dd6d25fde7ca259 (patch) | |
tree | cd0cb7432b1f3555e63c5e0869648b9f0d019a7e /arch/cris | |
parent | CIRS: turn local_save_flags() + local_irq_disable()into local_irq_save() (diff) | |
download | linux-7a7236e0f3f836439442e9161dd6d25fde7ca259.tar.xz linux-7a7236e0f3f836439442e9161dd6d25fde7ca259.zip |
CRIS: remove code that has been commented out for many years
Remove the dump_tlb_all() function that has been commented out for
many years.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Acked-by: Jesper Nilsson <Jesper.Nilsson@axis.com>
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/arch-v10/mm/tlb.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/cris/arch-v10/mm/tlb.c b/arch/cris/arch-v10/mm/tlb.c index 4a496e4ffacc..21d78c599bab 100644 --- a/arch/cris/arch-v10/mm/tlb.c +++ b/arch/cris/arch-v10/mm/tlb.c @@ -134,28 +134,6 @@ void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) local_irq_restore(flags); } -/* dump the entire TLB for debug purposes */ - -#if 0 -void -dump_tlb_all(void) -{ - int i; - unsigned long flags; - - printk("TLB dump. LO is: pfn | reserved | global | valid | kernel | we |\n"); - - local_save_flags(flags); - local_irq_disable(); - for(i = 0; i < NUM_TLB_ENTRIES; i++) { - *R_TLB_SELECT = ( IO_FIELD(R_TLB_SELECT, index, i) ); - printk("Entry %d: HI 0x%08lx, LO 0x%08lx\n", - i, *R_TLB_HI, *R_TLB_LO); - } - local_irq_restore(flags); -} -#endif - /* * Initialize the context related info for a new mm_struct * instance. |