From: Haavard Skinnemoen Date: Wed, 27 Sep 2006 08:50:14 +0000 (-0700) Subject: [PATCH] AVR32: Use unsigned long flags for saving interrupt state X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=361f6ed1d00f666a1a7c33f3e9aaccb713f9b9e4;p=linux-beck.git [PATCH] AVR32: Use unsigned long flags for saving interrupt state Signed-off-by: Haavard Skinnemoen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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 @@ void show_dtlb_entry(unsigned int index) { - unsigned int tlbehi, tlbehi_save, tlbelo, mmucr, mmucr_save, flags; + unsigned int tlbehi, tlbehi_save, tlbelo, mmucr, mmucr_save; + unsigned long flags; local_irq_save(flags); mmucr_save = sysreg_read(MMUCR); @@ -305,7 +306,8 @@ static void tlb_stop(struct seq_file *tlb, void *v) static int tlb_show(struct seq_file *tlb, void *v) { - unsigned int tlbehi, tlbehi_save, tlbelo, mmucr, mmucr_save, flags; + unsigned int tlbehi, tlbehi_save, tlbelo, mmucr, mmucr_save; + unsigned long flags; unsigned long *index = v; if (*index == 0)