diff options
Diffstat (limited to 'drivers/sh/intc/internals.h')
-rw-r--r-- | drivers/sh/intc/internals.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/sh/intc/internals.h b/drivers/sh/intc/internals.h index 7dff08e2a071..6ce7f0d26dcf 100644 --- a/drivers/sh/intc/internals.h +++ b/drivers/sh/intc/internals.h | |||
@@ -99,15 +99,7 @@ static inline struct intc_desc_int *get_intc_desc(unsigned int irq) | |||
99 | */ | 99 | */ |
100 | static inline void activate_irq(int irq) | 100 | static inline void activate_irq(int irq) |
101 | { | 101 | { |
102 | #ifdef CONFIG_ARM | 102 | irq_modify_status(irq, IRQ_NOREQUEST, IRQ_NOPROBE); |
103 | /* ARM requires an extra step to clear IRQ_NOREQUEST, which it | ||
104 | * sets on behalf of every irq_chip. Also sets IRQ_NOPROBE. | ||
105 | */ | ||
106 | set_irq_flags(irq, IRQF_VALID); | ||
107 | #else | ||
108 | /* same effect on other architectures */ | ||
109 | irq_set_noprobe(irq); | ||
110 | #endif | ||
111 | } | 103 | } |
112 | 104 | ||
113 | static inline int intc_handle_int_cmp(const void *a, const void *b) | 105 | static inline int intc_handle_int_cmp(const void *a, const void *b) |