sched: Make sched_param argument static in sched_setscheduler() callers
[deliverable/linux.git] / kernel / kthread.c
index 2dc3786349d1723394c25e512b9b570bcf5a4f7e..74cf6f5e7ade5e54e90bba33b97579371cb1623a 100644 (file)
@@ -148,7 +148,7 @@ struct task_struct *kthread_create(int (*threadfn)(void *data),
        wait_for_completion(&create.done);
 
        if (!IS_ERR(create.result)) {
-               struct sched_param param = { .sched_priority = 0 };
+               static struct sched_param param = { .sched_priority = 0 };
                va_list args;
 
                va_start(args, namefmt);
This page took 0.026695 seconds and 5 git commands to generate.