| .. | .. |
|---|
| 17 | 17 | _IRQ_PER_CPU_DEVID = IRQ_PER_CPU_DEVID, |
|---|
| 18 | 18 | _IRQ_IS_POLLED = IRQ_IS_POLLED, |
|---|
| 19 | 19 | _IRQ_DISABLE_UNLAZY = IRQ_DISABLE_UNLAZY, |
|---|
| 20 | + _IRQ_NO_SOFTIRQ_CALL = IRQ_NO_SOFTIRQ_CALL, |
|---|
| 20 | 21 | _IRQF_MODIFY_MASK = IRQF_MODIFY_MASK, |
|---|
| 21 | 22 | }; |
|---|
| 22 | 23 | |
|---|
| .. | .. |
|---|
| 31 | 32 | #define IRQ_PER_CPU_DEVID GOT_YOU_MORON |
|---|
| 32 | 33 | #define IRQ_IS_POLLED GOT_YOU_MORON |
|---|
| 33 | 34 | #define IRQ_DISABLE_UNLAZY GOT_YOU_MORON |
|---|
| 35 | +#define IRQ_NO_SOFTIRQ_CALL GOT_YOU_MORON |
|---|
| 34 | 36 | #undef IRQF_MODIFY_MASK |
|---|
| 35 | 37 | #define IRQF_MODIFY_MASK GOT_YOU_MORON |
|---|
| 36 | 38 | |
|---|
| .. | .. |
|---|
| 41 | 43 | desc->status_use_accessors |= (set & _IRQF_MODIFY_MASK); |
|---|
| 42 | 44 | } |
|---|
| 43 | 45 | |
|---|
| 46 | +static inline bool irq_settings_no_softirq_call(struct irq_desc *desc) |
|---|
| 47 | +{ |
|---|
| 48 | + return desc->status_use_accessors & _IRQ_NO_SOFTIRQ_CALL; |
|---|
| 49 | +} |
|---|
| 50 | + |
|---|
| 51 | +static inline void irq_settings_set_no_softirq_call(struct irq_desc *desc) |
|---|
| 52 | +{ |
|---|
| 53 | + desc->status_use_accessors |= _IRQ_NO_SOFTIRQ_CALL; |
|---|
| 54 | +} |
|---|
| 55 | + |
|---|
| 44 | 56 | static inline bool irq_settings_is_per_cpu(struct irq_desc *desc) |
|---|
| 45 | 57 | { |
|---|
| 46 | 58 | return desc->status_use_accessors & _IRQ_PER_CPU; |
|---|