Re: [mmotm build error] Re: [PATCH] [3/3] Use WARN_ON_SECS in rcupreempt.h

From: Dave Young
Date: Wed Mar 19 2008 - 20:38:20 EST


On Thu, Mar 20, 2008 at 2:57 AM, Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:
> HZ notdef; NO_HZ=y, HZ=250
> CC init/main.o
> In file included from mmotm-2008-0318-1720/include/linux/rcupdate.h:59,
> from mmotm-2008-0318-1720/include/linux/rculist.h:10,
> from mmotm-2008-0318-1720/include/linux/dcache.h:8,
> from mmotm-2008-0318-1720/include/linux/fs.h:278,
> from mmotm-2008-0318-1720/include/linux/proc_fs.h:5,
> from mmotm-2008-0318-1720/init/main.c:14:
> mmotm-2008-0318-1720/include/linux/rcupreempt.h: In function 'rcu_enter_nohz':
> CC init/do_mounts.o
> mmotm-2008-0318-1720/include/linux/rcupreempt.h:92: error: 'HZ' undeclared (first use in this function)
> mmotm-2008-0318-1720/include/linux/rcupreempt.h:92: error: (Each undeclared identifier is reported only once
> mmotm-2008-0318-1720/include/linux/rcupreempt.h:92: error: for each function it appears in.)
> mmotm-2008-0318-1720/include/linux/rcupreempt.h: In function 'rcu_exit_nohz':
> mmotm-2008-0318-1720/include/linux/rcupreempt.h:99: error: 'HZ' undeclared (first use in this function)
> make[2]: *** [init/main.o] Error 1

Hi,
There's a fix from andrew, please see:
http://lkml.org/lkml/2008/3/12/44

Regards
dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/