aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/chip.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/chip.c')
-rw-r--r--kernel/irq/chip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index 9e9220da4deb..4687457fe7f0 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -367,7 +367,7 @@ static inline void mask_ack_irq(struct irq_desc *desc)
367 irq_state_set_masked(desc); 367 irq_state_set_masked(desc);
368} 368}
369 369
370static inline void mask_irq(struct irq_desc *desc) 370void mask_irq(struct irq_desc *desc)
371{ 371{
372 if (desc->irq_data.chip->irq_mask) { 372 if (desc->irq_data.chip->irq_mask) {
373 desc->irq_data.chip->irq_mask(&desc->irq_data); 373 desc->irq_data.chip->irq_mask(&desc->irq_data);
@@ -375,7 +375,7 @@ static inline void mask_irq(struct irq_desc *desc)
375 } 375 }
376} 376}
377 377
378static inline void unmask_irq(struct irq_desc *desc) 378void unmask_irq(struct irq_desc *desc)
379{ 379{
380 if (desc->irq_data.chip->irq_unmask) { 380 if (desc->irq_data.chip->irq_unmask) {
381 desc->irq_data.chip->irq_unmask(&desc->irq_data); 381 desc->irq_data.chip->irq_unmask(&desc->irq_data);