On Sat, 2013-01-12 at 11:13 +0100, Sedat Dilek wrote: > On Sat, Jan 12, 2013 at 3:29 AM, Joe Perches <joe@xxxxxxxxxxx> wrote: > > On Sat, 2013-01-12 at 13:17 +1100, Stephen Rothwell wrote: > >> On Fri, 11 Jan 2013 17:43:06 -0800 Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote: > >> > > >> > b0rked. > >> > > >> > Some (randconfig?) causes this set of errors: > > > > I guess that's when CONFIG_HZ is not an even divisor of 1000. > > I suppose this needs to be worked on a bit more. [] > I remember this patch from Joe come up with a pending patch in > net-next.git#master [] > As I see Randy has in his kernel-config: > CONFIG_HZ=300 > So there is a problem for the value "300" (only)? Basically, this problem exists whenever timeconst.h is necessary. kernel/Makefile has code to create it in kernel/ and kernel/time.c is the only file that uses it. That code will need to be removed and newly written somewhere so that timeconst.h could be created as include/linux/timeconst.h before any other compilation so that jiffies.h can #include it. I believe it should be akin to how version.h or elfconfig.h is created. Someone with stronger Makefile foo could probably do it quicker than I could. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>