diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2006-09-27 04:50:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-27 11:26:13 -0400 |
commit | 361f6ed1d00f666a1a7c33f3e9aaccb713f9b9e4 (patch) | |
tree | a16708ea71e3d8332d5babbfee5f5634082b3e94 /arch/avr32/mm/tlb.c | |
parent | d24afc57d51b1be41f95521e81399061fa5875a6 (diff) |
[PATCH] AVR32: Use unsigned long flags for saving interrupt state
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/avr32/mm/tlb.c')
-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) |