X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=kernel%2Fwatchdog.c;h=14b8120d52320486c3006e0cffbc7c9fff84de15;hp=6e3c41a4024c1cc66be01218e2c37498498f2469;hb=92fd4d4d67b945c0766416284d4ab236b31542c4;hpb=e53beacd23d9cb47590da6a7a7f6d417b941a994 diff --git a/kernel/watchdog.c b/kernel/watchdog.c index 6e3c41a4024c..14b8120d5232 100644 --- a/kernel/watchdog.c +++ b/kernel/watchdog.c @@ -307,7 +307,7 @@ static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer) */ static int watchdog(void *unused) { - struct sched_param param = { .sched_priority = MAX_RT_PRIO-1 }; + static struct sched_param param = { .sched_priority = MAX_RT_PRIO-1 }; struct hrtimer *hrtimer = &__raw_get_cpu_var(watchdog_hrtimer); sched_setscheduler(current, SCHED_FIFO, ¶m);