Merge commit 'v2.6.37-rc2' into sched/core
[~shefty/rdma-dev.git] / kernel / watchdog.c
index 6e3c41a4024c1cc66be01218e2c37498498f2469..14b8120d52320486c3006e0cffbc7c9fff84de15 100644 (file)
@@ -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, &param);