aboutsummaryrefslogtreecommitdiff
path: root/arch/blackfin/include/asm/irq.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-11-18 17:48:22 +0800
committerBryan Wu <cooloney@kernel.org>2008-11-18 17:48:22 +0800
commit400597842452c02916a61a51f3154dd032c2d569 (patch)
treeccb11e389a940ee9d8aa5c7654afd73063bdc950 /arch/blackfin/include/asm/irq.h
parentb60705765a635728187e5cea5f36914886675013 (diff)
Blackfin arch: rename irq_flags to bfin_irq_flags
rename irq_flags to bfin_irq_flags to avoid namespace collision with common code Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/include/asm/irq.h')
-rw-r--r--arch/blackfin/include/asm/irq.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/blackfin/include/asm/irq.h b/arch/blackfin/include/asm/irq.h
index e43c20583fc..21e25f778a6 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)
/* Forward decl needed due to cdef inter dependencies */
static inline uint32_t __pure bfin_dspid(void);
# define blackfin_core_id() (bfin_dspid() & 0xff)
-# define irq_flags cpu_pda[blackfin_core_id()].imask
+# define bfin_irq_flags cpu_pda[blackfin_core_id()].imask
#else
-extern unsigned long irq_flags;
+extern unsigned long bfin_irq_flags;
#endif
#define local_irq_enable() \
__asm__ __volatile__( \
"sti %0;" \
: \
- : "d" (irq_flags) \
+ : "d" (bfin_irq_flags) \
)
#define idle_with_irq_disabled() \
@@ -68,7 +68,7 @@ extern unsigned long irq_flags;
"sti %0;" \
"idle;" \
: \
- : "d" (irq_flags) \
+ : "d" (bfin_irq_flags) \
)
#ifdef CONFIG_DEBUG_HWERR