Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 3 Mar 2003 14:05:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 3 Mar 2003 14:05:28 -0500 Received: from fmr05.intel.com ([134.134.136.6]:1278 "EHLO hermes.jf.intel.com") by vger.kernel.org with ESMTP id ; Mon, 3 Mar 2003 14:05:22 -0500 Subject: Re: [2.5.63-bk6 compile error] __crc_page_states__per_cpu not in per-cpu section From: Rusty Lynch To: Kai Germaschewski Cc: lkml In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 03 Mar 2003 11:13:24 -0800 Message-Id: <1046718805.2819.19.camel@vmhack> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1548 Lines: 46 yes, this works for me. --rustyl On Mon, 2003-03-03 at 11:10, Kai Germaschewski wrote: > On 3 Mar 2003, Rusty Lynch wrote: > > > After updating my bk tree this morning, I am getting the > > following compile error: > > > > 4d13d7e9 A __crc_page_states__per_cpu not in per-cpu section > > make: *** [vmlinux] Error 1 > > It's a false positive from the script which checks whether all per-cpu > variables ended up in the correct section. __crc_page_states__per_cpu ends > in __per_cpu, that's why the script thinks it's a per-cpu variable, but > it's not, it's just a checksum. > > Could you try if this patch fixes it, I don't really speak awk ;) > > You should be able to reproduce the error by just doing "rm vmlinux; make > vmlinux", but not anymore after applying the patch below. > > --Kai > > > ===== scripts/per-cpu-check.awk 1.3 vs edited ===== > --- 1.3/scripts/per-cpu-check.awk Fri Jan 24 14:27:01 2003 > +++ edited/scripts/per-cpu-check.awk Mon Mar 3 13:05:48 2003 > @@ -6,7 +6,7 @@ > IN_PER_CPU=0 > } > > -/__per_cpu$$/ && ! ( / __ksymtab_/ || / __kstrtab_/ || / __kcrctab_/ ) { > +/__per_cpu$$/ && ! ( / __ksymtab_/ || / __kstrtab_/ || / __kcrctab_/ || / __crc_/ ) { > if (!IN_PER_CPU) { > print $$3 " not in per-cpu section" > "/dev/stderr"; > FOUND=1; > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/