sched: Make sched_param argument static in sched_setscheduler() callers
[deliverable/linux.git] / kernel / irq / manage.c
index 644e8d5fa367e74c3cc06a2114f2e283c701b0e6..850f030fa0c23de862a9c5923de9f1a8daf24364 100644 (file)
@@ -573,7 +573,9 @@ irq_thread_check_affinity(struct irq_desc *desc, struct irqaction *action) { }
  */
 static int irq_thread(void *data)
 {
-       struct sched_param param = { .sched_priority = MAX_USER_RT_PRIO/2, };
+       static struct sched_param param = {
+               .sched_priority = MAX_USER_RT_PRIO/2,
+       };
        struct irqaction *action = data;
        struct irq_desc *desc = irq_to_desc(action->irq);
        int wake, oneshot = desc->status & IRQ_ONESHOT;
This page took 0.026007 seconds and 5 git commands to generate.