[kernel/f19] compile testing is for weenies
Dave Jones
davej at fedoraproject.org
Thu Mar 21 14:55:01 UTC 2013
commit 32241a4d579607a5d8acb24970f249161a0e092a
Author: Dave Jones <davej at redhat.com>
Date: Thu Mar 21 10:54:52 2013 -0400
compile testing is for weenies
debug-idle-sched-warn-once.patch | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
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");
More information about the scm-commits
mailing list