diff options
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r-- | kernel/irq/manage.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 644e8d5fa36..850f030fa0c 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
@@ -573,7 +573,9 @@ irq_thread_check_affinity(struct irq_desc *desc, struct irqaction *action) { } | |||
573 | */ | 573 | */ |
574 | static int irq_thread(void *data) | 574 | static int irq_thread(void *data) |
575 | { | 575 | { |
576 | struct sched_param param = { .sched_priority = MAX_USER_RT_PRIO/2, }; | 576 | static struct sched_param param = { |
577 | .sched_priority = MAX_USER_RT_PRIO/2, | ||
578 | }; | ||
577 | struct irqaction *action = data; | 579 | struct irqaction *action = data; |
578 | struct irq_desc *desc = irq_to_desc(action->irq); | 580 | struct irq_desc *desc = irq_to_desc(action->irq); |
579 | int wake, oneshot = desc->status & IRQ_ONESHOT; | 581 | int wake, oneshot = desc->status & IRQ_ONESHOT; |