Re: 2.6.21-rc2-mm1 - build error with CONFIG_NO_HZ=y and CONFIG_SMP=n

Antonino A. Daplas
2007-03-03T07:43:51Z

On Fri, 2007-03-02 at 03:00 -0800, Andrew Morton wrote:

I get this with CONFIG_NO_HZ=y, CONFIG_SMP=n

kernel/sched.c: In function ‘trigger_load_balance’:
kernel/sched.c:3384: error: ‘struct rq’ has no member named
‘in_nohz_recently’
kernel/sched.c:3384: error: ‘struct rq’ has no member named
‘idle_at_tick’
kernel/sched.c:3385: error: ‘struct rq’ has no member named
‘in_nohz_recently’
kernel/sched.c:3387: error: ‘nohz’ undeclared (first use in this
function)
kernel/sched.c:3387: error: (Each undeclared identifier is reported only
once
kernel/sched.c:3387: error: for each function it appears in.)
kernel/sched.c:3404: warning: implicit declaration of function
‘resched_cpu’
kernel/sched.c:3412: error: ‘struct rq’ has no member named
‘idle_at_tick’
kernel/sched.c:3422: error: ‘struct rq’ has no member named
‘idle_at_tick’
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2

Tony