2 * Compat layer for transition period
4 #ifndef CONFIG_GENERIC_HARDIRQS_NO_COMPAT
5 static inline void irq_compat_set_progress(struct irq_desc
*desc
)
7 desc
->status
|= IRQ_INPROGRESS
;
10 static inline void irq_compat_clr_progress(struct irq_desc
*desc
)
12 desc
->status
&= ~IRQ_INPROGRESS
;
14 static inline void irq_compat_set_disabled(struct irq_desc
*desc
)
16 desc
->status
|= IRQ_DISABLED
;
18 static inline void irq_compat_clr_disabled(struct irq_desc
*desc
)
20 desc
->status
&= ~IRQ_DISABLED
;
22 static inline void irq_compat_set_pending(struct irq_desc
*desc
)
24 desc
->status
|= IRQ_PENDING
;
27 static inline void irq_compat_clr_pending(struct irq_desc
*desc
)
29 desc
->status
&= ~IRQ_PENDING
;
31 static inline void irq_compat_set_masked(struct irq_desc
*desc
)
33 desc
->status
|= IRQ_MASKED
;
36 static inline void irq_compat_clr_masked(struct irq_desc
*desc
)
38 desc
->status
&= ~IRQ_MASKED
;
40 static inline void irq_compat_set_move_pending(struct irq_desc
*desc
)
42 desc
->status
|= IRQ_MOVE_PENDING
;
45 static inline void irq_compat_clr_move_pending(struct irq_desc
*desc
)
47 desc
->status
&= ~IRQ_MOVE_PENDING
;
49 static inline void irq_compat_set_affinity(struct irq_desc
*desc
)
51 desc
->status
|= IRQ_AFFINITY_SET
;
54 static inline void irq_compat_clr_affinity(struct irq_desc
*desc
)
56 desc
->status
&= ~IRQ_AFFINITY_SET
;
59 static inline void irq_compat_set_progress(struct irq_desc
*desc
) { }
60 static inline void irq_compat_clr_progress(struct irq_desc
*desc
) { }
61 static inline void irq_compat_set_disabled(struct irq_desc
*desc
) { }
62 static inline void irq_compat_clr_disabled(struct irq_desc
*desc
) { }
63 static inline void irq_compat_set_pending(struct irq_desc
*desc
) { }
64 static inline void irq_compat_clr_pending(struct irq_desc
*desc
) { }
65 static inline void irq_compat_set_masked(struct irq_desc
*desc
) { }
66 static inline void irq_compat_clr_masked(struct irq_desc
*desc
) { }
67 static inline void irq_compat_set_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
) { }