diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-04-07 20:28:18 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-04-07 20:28:18 +0000 |
commit | a78ec39495453dc16cedb7732134d06c3e9a1e7c (patch) | |
tree | ec111094a09714db5aa37794861cbe78528c5383 /arch | |
parent | cdb6e8f01ce76e5128596c6d19804e3c402d35e1 (diff) |
Minor cleanup - do not invent new synonyms. Use ST0_IE instead of new name
SR_IE.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips64/sgi-ip27/ip27-irq.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/mips64/sgi-ip27/ip27-irq.c b/arch/mips64/sgi-ip27/ip27-irq.c index f857773ed..765020578 100644 --- a/arch/mips64/sgi-ip27/ip27-irq.c +++ b/arch/mips64/sgi-ip27/ip27-irq.c @@ -530,14 +530,12 @@ static inline void get_irqlock(int cpu) global_irq_holder = cpu; } -#define SR_IE 1 - void __global_cli(void) { unsigned int flags; __save_flags(flags); - if (flags & SR_IE) { + if (flags & ST0_IE) { int cpu = smp_processor_id(); __cli(); if (!local_irq_count(cpu)) @@ -569,7 +567,7 @@ unsigned long __global_save_flags(void) int cpu = smp_processor_id(); __save_flags(flags); - local_enabled = (flags & SR_IE); + local_enabled = (flags & ST0_IE); /* default to local */ retval = 2 + local_enabled; |