* [PATCH] CRIS: remove code that has been commented out for many years
@ 2009-10-09 9:58 Jiri Kosina
2009-10-09 10:53 ` Jesper Nilsson
0 siblings, 1 reply; 2+ messages in thread
From: Jiri Kosina @ 2009-10-09 9:58 UTC (permalink / raw)
To: Mikael Starvik, Jesper Nilsson, linux-cris-kernel; +Cc: linux-kernel
[ I have already queued this in trivial tree. If you have objections,
please shout ]
Remove the dump_tlb_all() function that has been commented out for
many years.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
---
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 4a496e4..21d78c5 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.
--
1.5.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] CRIS: remove code that has been commented out for many years
2009-10-09 9:58 [PATCH] CRIS: remove code that has been commented out for many years Jiri Kosina
@ 2009-10-09 10:53 ` Jesper Nilsson
0 siblings, 0 replies; 2+ messages in thread
From: Jesper Nilsson @ 2009-10-09 10:53 UTC (permalink / raw)
To: Jiri Kosina
Cc: Mikael Starvik, linux-cris-kernel, linux-kernel@vger.kernel.org
On Fri, Oct 09, 2009 at 11:58:17AM +0200, Jiri Kosina wrote:
> [ I have already queued this in trivial tree. If you have objections,
> please shout ]
>
> Remove the dump_tlb_all() function that has been commented out for
> many years.
I have no objections, the code is obviously old debug.
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@axis.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-09 10:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-09 9:58 [PATCH] CRIS: remove code that has been commented out for many years Jiri Kosina
2009-10-09 10:53 ` Jesper Nilsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox