diff options
Diffstat (limited to 'arch/blackfin/include/asm/irq.h')
-rw-r--r-- | arch/blackfin/include/asm/irq.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/blackfin/include/asm/irq.h b/arch/blackfin/include/asm/irq.h index e43c20583fcd..21e25f778a63 100644 --- a/arch/blackfin/include/asm/irq.h +++ b/arch/blackfin/include/asm/irq.h | |||
@@ -49,16 +49,16 @@ static __inline__ int irq_canonicalize(int irq) | |||
49 | /* Forward decl needed due to cdef inter dependencies */ | 49 | /* Forward decl needed due to cdef inter dependencies */ |
50 | static inline uint32_t __pure bfin_dspid(void); | 50 | static inline uint32_t __pure bfin_dspid(void); |
51 | # define blackfin_core_id() (bfin_dspid() & 0xff) | 51 | # define blackfin_core_id() (bfin_dspid() & 0xff) |
52 | # define irq_flags cpu_pda[blackfin_core_id()].imask | 52 | # define bfin_irq_flags cpu_pda[blackfin_core_id()].imask |
53 | #else | 53 | #else |
54 | extern unsigned long irq_flags; | 54 | extern unsigned long bfin_irq_flags; |
55 | #endif | 55 | #endif |
56 | 56 | ||
57 | #define local_irq_enable() \ | 57 | #define local_irq_enable() \ |
58 | __asm__ __volatile__( \ | 58 | __asm__ __volatile__( \ |
59 | "sti %0;" \ | 59 | "sti %0;" \ |
60 | : \ | 60 | : \ |
61 | : "d" (irq_flags) \ | 61 | : "d" (bfin_irq_flags) \ |
62 | ) | 62 | ) |
63 | 63 | ||
64 | #define idle_with_irq_disabled() \ | 64 | #define idle_with_irq_disabled() \ |
@@ -68,7 +68,7 @@ extern unsigned long irq_flags; | |||
68 | "sti %0;" \ | 68 | "sti %0;" \ |
69 | "idle;" \ | 69 | "idle;" \ |
70 | : \ | 70 | : \ |
71 | : "d" (irq_flags) \ | 71 | : "d" (bfin_irq_flags) \ |
72 | ) | 72 | ) |
73 | 73 | ||
74 | #ifdef CONFIG_DEBUG_HWERR | 74 | #ifdef CONFIG_DEBUG_HWERR |