diff options
Diffstat (limited to 'arch/avr32/mm')
-rw-r--r-- | arch/avr32/mm/tlb.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/avr32/mm/tlb.c b/arch/avr32/mm/tlb.c index 5d0523bbe298..7b073052203d 100644 --- a/arch/avr32/mm/tlb.c +++ b/arch/avr32/mm/tlb.c | |||
@@ -15,7 +15,8 @@ | |||
15 | 15 | ||
16 | void show_dtlb_entry(unsigned int index) | 16 | void show_dtlb_entry(unsigned int index) |
17 | { | 17 | { |
18 | unsigned int tlbehi, tlbehi_save, tlbelo, mmucr, mmucr_save, flags; | 18 | unsigned int tlbehi, tlbehi_save, tlbelo, mmucr, mmucr_save; |
19 | unsigned long flags; | ||
19 | 20 | ||
20 | local_irq_save(flags); | 21 | local_irq_save(flags); |
21 | mmucr_save = sysreg_read(MMUCR); | 22 | mmucr_save = sysreg_read(MMUCR); |
@@ -305,7 +306,8 @@ static void tlb_stop(struct seq_file *tlb, void *v) | |||
305 | 306 | ||
306 | static int tlb_show(struct seq_file *tlb, void *v) | 307 | static int tlb_show(struct seq_file *tlb, void *v) |
307 | { | 308 | { |
308 | unsigned int tlbehi, tlbehi_save, tlbelo, mmucr, mmucr_save, flags; | 309 | unsigned int tlbehi, tlbehi_save, tlbelo, mmucr, mmucr_save; |
310 | unsigned long flags; | ||
309 | unsigned long *index = v; | 311 | unsigned long *index = v; |
310 | 312 | ||
311 | if (*index == 0) | 313 | if (*index == 0) |