aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-11-18 04:48:22 -0500
committerBryan Wu <cooloney@kernel.org>2008-11-18 04:48:22 -0500
commit400597842452c02916a61a51f3154dd032c2d569 (patch)
treeccb11e389a940ee9d8aa5c7654afd73063bdc950 /arch/blackfin/include
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')
-rw-r--r--arch/blackfin/include/asm/context.S4
-rw-r--r--arch/blackfin/include/asm/irq.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/blackfin/include/asm/context.S b/arch/blackfin/include/asm/context.S
index 40d20b4a9b1f..9ce21f68e914 100644
--- a/arch/blackfin/include/asm/context.S
+++ b/arch/blackfin/include/asm/context.S
@@ -307,8 +307,8 @@
307 GET_PDA(p0, r0); 307 GET_PDA(p0, r0);
308 r0 = [p0 + PDA_IRQFLAGS]; 308 r0 = [p0 + PDA_IRQFLAGS];
309#else 309#else
310 p0.h = _irq_flags; 310 p0.h = _bfin_irq_flags;
311 p0.l = _irq_flags; 311 p0.l = _bfin_irq_flags;
312 r0 = [p0]; 312 r0 = [p0];
313#endif 313#endif
314 sti r0; 314 sti r0;
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 */
50static inline uint32_t __pure bfin_dspid(void); 50static 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
54extern unsigned long irq_flags; 54extern 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