Skip to content

Commit

Permalink
[PATCH] AVR32: Use unsigned long flags for saving interrupt state
Browse files Browse the repository at this point in the history
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Haavard Skinnemoen authored and Linus Torvalds committed Sep 27, 2006
1 parent d24afc5 commit 361f6ed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions arch/avr32/mm/tlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 361f6ed

Please sign in to comment.