genirq: Move IRQ_PENDING flag to core
Keep status in sync until all users are fixed. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -15,15 +15,25 @@ static inline void irq_compat_set_disabled(struct irq_desc *desc)
|
||||
{
|
||||
desc->status |= IRQ_DISABLED;
|
||||
}
|
||||
|
||||
static inline void irq_compat_clr_disabled(struct irq_desc *desc)
|
||||
{
|
||||
desc->status &= ~IRQ_DISABLED;
|
||||
}
|
||||
static inline void irq_compat_set_pending(struct irq_desc *desc)
|
||||
{
|
||||
desc->status |= IRQ_PENDING;
|
||||
}
|
||||
|
||||
static inline void irq_compat_clr_pending(struct irq_desc *desc)
|
||||
{
|
||||
desc->status &= ~IRQ_PENDING;
|
||||
}
|
||||
#else
|
||||
static inline void irq_compat_set_progress(struct irq_desc *desc) { }
|
||||
static inline void irq_compat_clr_progress(struct irq_desc *desc) { }
|
||||
static inline void irq_compat_set_disabled(struct irq_desc *desc) { }
|
||||
static inline void irq_compat_clr_disabled(struct irq_desc *desc) { }
|
||||
static inline void irq_compat_set_pending(struct irq_desc *desc) { }
|
||||
static inline void irq_compat_clr_pending(struct irq_desc *desc) { }
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user