diff options
Diffstat (limited to 'include/asm-arm/arch-iop13xx/irqs.h')
| -rw-r--r-- | include/asm-arm/arch-iop13xx/irqs.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/asm-arm/arch-iop13xx/irqs.h b/include/asm-arm/arch-iop13xx/irqs.h index 442e35a40359..5c6fac2a4004 100644 --- a/include/asm-arm/arch-iop13xx/irqs.h +++ b/include/asm-arm/arch-iop13xx/irqs.h | |||
| @@ -3,8 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #ifndef __ASSEMBLER__ | 4 | #ifndef __ASSEMBLER__ |
| 5 | #include <linux/types.h> | 5 | #include <linux/types.h> |
| 6 | #include <asm/system.h> /* local_irq_save */ | ||
| 7 | #include <asm/arch/iop13xx.h> /* iop13xx_cp6_* */ | ||
| 8 | 6 | ||
| 9 | /* INTPND0 CP6 R0 Page 3 | 7 | /* INTPND0 CP6 R0 Page 3 |
| 10 | */ | 8 | */ |
| @@ -41,21 +39,6 @@ static inline u32 read_intpnd_3(void) | |||
| 41 | asm volatile("mrc p6, 0, %0, c3, c3, 0":"=r" (val)); | 39 | asm volatile("mrc p6, 0, %0, c3, c3, 0":"=r" (val)); |
| 42 | return val; | 40 | return val; |
| 43 | } | 41 | } |
| 44 | |||
| 45 | static inline void | ||
| 46 | iop13xx_cp6_enable_irq_save(unsigned long *cp_flags, unsigned long *irq_flags) | ||
| 47 | { | ||
| 48 | local_irq_save(*irq_flags); | ||
| 49 | *cp_flags = iop13xx_cp6_save(); | ||
| 50 | } | ||
| 51 | |||
| 52 | static inline void | ||
| 53 | iop13xx_cp6_irq_restore(unsigned long *cp_flags, | ||
| 54 | unsigned long *irq_flags) | ||
| 55 | { | ||
| 56 | iop13xx_cp6_restore(*cp_flags); | ||
| 57 | local_irq_restore(*irq_flags); | ||
| 58 | } | ||
| 59 | #endif | 42 | #endif |
| 60 | 43 | ||
| 61 | #define INTBASE 0 | 44 | #define INTBASE 0 |
