From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Perches Subject: Re: mmotm 2013-01-11-15-47 uploaded (x86 asm-offsets broken) Date: Sat, 12 Jan 2013 08:52:14 -0800 Message-ID: <1358009534.2168.22.camel@joe-AO722> References: <20130111234813.170A620004E@hpza10.eem.corp.google.com> <50F0BFAA.10902@infradead.org> <20130112131713.749566c8d374cd77b1f2885e@canb.auug.org.au> <1357957789.2168.11.camel@joe-AO722> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: Stephen Rothwell , Randy Dunlap , akpm@linux-foundation.org, mm-commits@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-next@vger.kernel.org To: sedat.dilek@gmail.com Return-path: In-Reply-To: Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On Sat, 2013-01-12 at 11:13 +0100, Sedat Dilek wrote: > On Sat, Jan 12, 2013 at 3:29 AM, Joe Perches wrote: > > On Sat, 2013-01-12 at 13:17 +1100, Stephen Rothwell wrote: > >> On Fri, 11 Jan 2013 17:43:06 -0800 Randy Dunlap 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@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org