diff options
author | Kumar Gala <galak@freescale.com> | 2005-09-16 11:37:33 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-09-19 09:38:49 +1000 |
commit | 7da8f8600a4751d7f0248e00d973901b7371fabc (patch) | |
tree | 0d46a5b29121878eb8452d4b1930109ff2f63741 /include | |
parent | 5f7c690728ace1404f72d74972dcc261674c0dd4 (diff) | |
download | kernel_samsung_aries-7da8f8600a4751d7f0248e00d973901b7371fabc.zip kernel_samsung_aries-7da8f8600a4751d7f0248e00d973901b7371fabc.tar.gz kernel_samsung_aries-7da8f8600a4751d7f0248e00d973901b7371fabc.tar.bz2 |
[PATCH] ppc32: Removed non-inlined versions of local_irq* functions
We always use the inlined versions of local_irq_enable, local_irq_disable,
local_save_flags_ptr, and local_irq_restore on ppc32 so the non-inlined
versions where just taking up space.
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ppc/hw_irq.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/asm-ppc/hw_irq.h b/include/asm-ppc/hw_irq.h index 47dc799..51a1d7e 100644 --- a/include/asm-ppc/hw_irq.h +++ b/include/asm-ppc/hw_irq.h @@ -10,12 +10,8 @@ extern void timer_interrupt(struct pt_regs *); -#define INLINE_IRQS - #define irqs_disabled() ((mfmsr() & MSR_EE) == 0) -#ifdef INLINE_IRQS - static inline void local_irq_disable(void) { unsigned long msr; @@ -45,18 +41,6 @@ static inline void local_irq_save_ptr(unsigned long *flags) #define local_irq_save(flags) local_irq_save_ptr(&flags) #define local_irq_restore(flags) mtmsr(flags) -#else - -extern void local_irq_enable(void); -extern void local_irq_disable(void); -extern void local_irq_restore(unsigned long); -extern void local_save_flags_ptr(unsigned long *); - -#define local_save_flags(flags) local_save_flags_ptr(&flags) -#define local_irq_save(flags) ({local_save_flags(flags);local_irq_disable();}) - -#endif - extern void do_lost_interrupts(unsigned long); #define mask_irq(irq) ({if (irq_desc[irq].handler && irq_desc[irq].handler->disable) irq_desc[irq].handler->disable(irq);}) |