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 5e33aadadacc..6bbaf66aca85 100644 --- a/kernel/irq/compat.h +++ b/kernel/irq/compat.h | |||
@@ -46,6 +46,15 @@ static inline void irq_compat_clr_move_pending(struct irq_desc *desc) | |||
46 | { | 46 | { |
47 | desc->status &= ~IRQ_MOVE_PENDING; | 47 | desc->status &= ~IRQ_MOVE_PENDING; |
48 | } | 48 | } |
49 | static inline void irq_compat_set_affinity(struct irq_desc *desc) | ||
50 | { | ||
51 | desc->status |= IRQ_AFFINITY_SET; | ||
52 | } | ||
53 | |||
54 | static inline void irq_compat_clr_affinity(struct irq_desc *desc) | ||
55 | { | ||
56 | desc->status &= ~IRQ_AFFINITY_SET; | ||
57 | } | ||
49 | #else | 58 | #else |
50 | static inline void irq_compat_set_progress(struct irq_desc *desc) { } | 59 | static inline void irq_compat_set_progress(struct irq_desc *desc) { } |
51 | static inline void irq_compat_clr_progress(struct irq_desc *desc) { } | 60 | static inline void irq_compat_clr_progress(struct irq_desc *desc) { } |
@@ -57,5 +66,7 @@ static inline void irq_compat_set_masked(struct irq_desc *desc) { } | |||
57 | static inline void irq_compat_clr_masked(struct irq_desc *desc) { } | 66 | static inline void irq_compat_clr_masked(struct irq_desc *desc) { } |
58 | static inline void irq_compat_set_move_pending(struct irq_desc *desc) { } | 67 | 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) { } | 68 | static inline void irq_compat_clr_move_pending(struct irq_desc *desc) { } |
69 | static inline void irq_compat_set_affinity(struct irq_desc *desc) { } | ||
70 | static inline void irq_compat_clr_affinity(struct irq_desc *desc) { } | ||
60 | #endif | 71 | #endif |
61 | 72 | ||