Skip to content

Commit

Permalink
CRIS: remove code that has been commented out for many years
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Kosina committed Nov 9, 2009
1 parent 84a3098 commit 7a7236e
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions arch/cris/arch-v10/mm/tlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7a7236e

Please sign in to comment.