From 32241a4d579607a5d8acb24970f249161a0e092a Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Mar 21 2013 14:54:52 +0000 Subject: compile testing is for weenies --- diff --git a/debug-idle-sched-warn-once.patch b/debug-idle-sched-warn-once.patch index a2e873c..1dd3049 100644 --- a/debug-idle-sched-warn-once.patch +++ b/debug-idle-sched-warn-once.patch @@ -7,12 +7,12 @@ off the screen, just print it once. static void dequeue_task_idle(struct rq *rq, struct task_struct *p, int flags) { -+ static bool once = FALSE; ++ static bool once = 0; + -+ if (once == TRUE) ++ if (once == 1) + return; + -+ once = TRUE; ++ once = 1; + raw_spin_unlock_irq(&rq->lock); printk(KERN_ERR "bad: scheduling from the idle thread!\n");