summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-m68k/system.h')
-rw-r--r--include/asm-m68k/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68k/system.h b/include/asm-m68k/system.h
index 64dab98d8..a33bb7c14 100644
--- a/include/asm-m68k/system.h
+++ b/include/asm-m68k/system.h
@@ -52,7 +52,7 @@ asmlinkage void resume(void);
#else
#include <asm/hardirq.h>
#define __sti() ({ \
- if (!local_irq_count[smp_processor_id()]) \
+ if (!local_irq_count(smp_processor_id())) \
asm volatile ("andiw %0,%%sr": : "i" (ALLOWINT) : "memory"); \
})
#endif