diff options
Diffstat (limited to 'kernel/irq/compat.h')
-rw-r--r-- | kernel/irq/compat.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/irq/compat.h b/kernel/irq/compat.h index 593abecbcc44..5e33aadadacc 100644 --- a/kernel/irq/compat.h +++ b/kernel/irq/compat.h | |||
@@ -37,6 +37,15 @@ static inline void irq_compat_clr_masked(struct irq_desc *desc) | |||
37 | { | 37 | { |
38 | desc->status &= ~IRQ_MASKED; | 38 | desc->status &= ~IRQ_MASKED; |
39 | } | 39 | } |
40 | static inline void irq_compat_set_move_pending(struct irq_desc *desc) | ||
41 | { | ||
42 | desc->status |= IRQ_MOVE_PENDING; | ||
43 | } | ||
44 | |||
45 | static inline void irq_compat_clr_move_pending(struct irq_desc *desc) | ||
46 | { | ||
47 | desc->status &= ~IRQ_MOVE_PENDING; | ||
48 | } | ||
40 | #else | 49 | #else |
41 | static inline void irq_compat_set_progress(struct irq_desc *desc) { } | 50 | static inline void irq_compat_set_progress(struct irq_desc *desc) { } |
42 | static inline void irq_compat_clr_progress(struct irq_desc *desc) { } | 51 | static inline void irq_compat_clr_progress(struct irq_desc *desc) { } |
@@ -46,5 +55,7 @@ static inline void irq_compat_set_pending(struct irq_desc *desc) { } | |||
46 | static inline void irq_compat_clr_pending(struct irq_desc *desc) { } | 55 | static inline void irq_compat_clr_pending(struct irq_desc *desc) { } |
47 | static inline void irq_compat_set_masked(struct irq_desc *desc) { } | 56 | static inline void irq_compat_set_masked(struct irq_desc *desc) { } |
48 | static inline void irq_compat_clr_masked(struct irq_desc *desc) { } | 57 | static inline void irq_compat_clr_masked(struct irq_desc *desc) { } |
58 | static inline void irq_compat_set_move_pending(struct irq_desc *desc) { } | ||
59 | static inline void irq_compat_clr_move_pending(struct irq_desc *desc) { } | ||
49 | #endif | 60 | #endif |
50 | 61 | ||