mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 06:37:59 +00:00
[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>
This commit is contained in:
parent
d24afc57d5
commit
361f6ed1d0
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue