compile testing is for weenies
This commit is contained in:
parent
4093611836
commit
32241a4d57
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue