wrong config option in sched.c for notick
PATCH 1/1 wrong config option in sched.c for notick
In compiling the kernel without high res, I hit this error:
kernel/sched.c:4135: error: notick undeclared (first use in this function) kernel/sched.c:4135: error: (Each undeclared identifier is reported only once kernel/sched.c:4135: error: for each function it appears in.)
I'm assuming that this was meant for NO_HZ.
Signed-off-by Steven Rostedt <[email protected]>
kernel/sched.c +1 -1
@@ -4147,7 +4147,7 @@ switch_tasks: ++*switch_count;prepare_task_switch (rq, next); -#if defined(CONFIG_HZ ) && defined(CONFIG_SMP ) +#if defined(CONFIG_NO_HZ ) && defined(CONFIG_SMP )if (prev == rq->idle && notick.load_balancer ==-1 ) {/* * simple selection for now: Nominate the first cpu in
Quoted 7 lines · Steven Rostedt
In compiling the kernel without high res, I hit this error:
kernel/sched.c:4135: error: notick undeclared (first use in this function)kernel/sched.c:4135: error: (Each undeclared identifier is reported only oncekernel/sched.c:4135: error: for each function it appears in.)I'm assuming that this was meant for
NO_HZ.
yeah.
Ingo