aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/compat.h')
-rw-r--r--kernel/irq/compat.h11
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}
40static inline void irq_compat_set_move_pending(struct irq_desc *desc)
41{
42 desc->status |= IRQ_MOVE_PENDING;
43}
44
45static inline void irq_compat_clr_move_pending(struct irq_desc *desc)
46{
47 desc->status &= ~IRQ_MOVE_PENDING;
48}
40#else 49#else
41static inline void irq_compat_set_progress(struct irq_desc *desc) { } 50static inline void irq_compat_set_progress(struct irq_desc *desc) { }
42static inline void irq_compat_clr_progress(struct irq_desc *desc) { } 51static 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) { }
46static inline void irq_compat_clr_pending(struct irq_desc *desc) { } 55static inline void irq_compat_clr_pending(struct irq_desc *desc) { }
47static inline void irq_compat_set_masked(struct irq_desc *desc) { } 56static inline void irq_compat_set_masked(struct irq_desc *desc) { }
48static inline void irq_compat_clr_masked(struct irq_desc *desc) { } 57static inline void irq_compat_clr_masked(struct irq_desc *desc) { }
58static inline void irq_compat_set_move_pending(struct irq_desc *desc) { }
59static inline void irq_compat_clr_move_pending(struct irq_desc *desc) { }
49#endif 60#endif
50 61