diff options
| author | Jiri Kosina <jkosina@suse.cz> | 2009-12-07 12:36:35 -0500 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2009-12-07 12:36:35 -0500 |
| commit | d014d043869cdc591f3a33243d3481fa4479c2d0 (patch) | |
| tree | 63626829498e647ba058a1ce06419fe7e4d5f97d /arch/cris/arch-v10/mm/tlb.c | |
| parent | 6ec22f9b037fc0c2e00ddb7023fad279c365324d (diff) | |
| parent | 6070d81eb5f2d4943223c96e7609a53cdc984364 (diff) | |
Merge branch 'for-next' into for-linus
Conflicts:
kernel/irq/chip.c
Diffstat (limited to 'arch/cris/arch-v10/mm/tlb.c')
| -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) | |||
| 134 | local_irq_restore(flags); | 134 | local_irq_restore(flags); |
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | /* dump the entire TLB for debug purposes */ | ||
| 138 | |||
| 139 | #if 0 | ||
| 140 | void | ||
| 141 | dump_tlb_all(void) | ||
| 142 | { | ||
| 143 | int i; | ||
| 144 | unsigned long flags; | ||
| 145 | |||
| 146 | printk("TLB dump. LO is: pfn | reserved | global | valid | kernel | we |\n"); | ||
| 147 | |||
| 148 | local_save_flags(flags); | ||
| 149 | local_irq_disable(); | ||
| 150 | for(i = 0; i < NUM_TLB_ENTRIES; i++) { | ||
| 151 | *R_TLB_SELECT = ( IO_FIELD(R_TLB_SELECT, index, i) ); | ||
| 152 | printk("Entry %d: HI 0x%08lx, LO 0x%08lx\n", | ||
| 153 | i, *R_TLB_HI, *R_TLB_LO); | ||
| 154 | } | ||
| 155 | local_irq_restore(flags); | ||
| 156 | } | ||
| 157 | #endif | ||
| 158 | |||
| 159 | /* | 137 | /* |
| 160 | * Initialize the context related info for a new mm_struct | 138 | * Initialize the context related info for a new mm_struct |
| 161 | * instance. | 139 | * instance. |
