From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 27 Sep 2006 09:24:18 -0700 From: Andrew Morton Subject: Re: [PATCH] Get rid of zone_table V2 Message-Id: <20060927092418.8b07f738.akpm@osdl.org> In-Reply-To: <451A6034.20305@shadowen.org> References: <20060924030643.e57f700c.akpm@osdl.org> <20060927021934.9461b867.akpm@osdl.org> <451A6034.20305@shadowen.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Andy Whitcroft Cc: Christoph Lameter , linux-mm@kvack.org, Dave Hansen List-ID: On Wed, 27 Sep 2006 12:27:48 +0100 Andy Whitcroft wrote: > Andrew Morton wrote: > > On Sun, 24 Sep 2006 03:06:43 -0700 > > Andrew Morton wrote: > > > >> On Mon, 18 Sep 2006 12:21:35 -0700 (PDT) > >> Christoph Lameter wrote: > >> > >>> static inline int page_zone_id(struct page *page) > >>> { > >>> - return (page->flags >> ZONETABLE_PGSHIFT) & ZONETABLE_MASK; > >>> -} > >>> -static inline struct zone *page_zone(struct page *page) > >>> -{ > >>> - return zone_table[page_zone_id(page)]; > >>> + return (page->flags >> ZONEID_PGSHIFT) & ZONEID_MASK; > >>> } > >> arm allmodconfig: > >> > >> include/linux/mm.h: In function `page_zone_id': > >> include/linux/mm.h:450: warning: right shift count >= width of type > > On a separate note. I was able to get this puppy compiling enough to > see this warning and fix it, but nowhere close to compiling a kernel. > > First, are you compiling here to a real kernel. If so, is this on a > cross-compiler or a real system. If its a cross-compiler which version. > Do you have recipe for success? I use cross-compilers basically all the time. $ARCH = alpha CT=gcc-4.1.0-glibc-2.3.6 $ARCH = arm CT=gcc-3.4.5-glibc-2.3.6 $ARCH = i386 CT=gcc-4.1.0-glibc-2.3.6 $ARCH = ia64 CT=gcc-3.4.5-glibc-2.3.6 $ARCH = m68k CT=gcc-4.1.0-glibc-2.3.6 $ARCH = mips CT=gcc-3.4.5-glibc-2.3.6 $ARCH = powerpc CT=gcc-4.1.0-glibc-2.3.6 $ARCH = s390 CT=gcc-4.1.0-glibc-2.3.6 $ARCH = sh CT=gcc-3.4.5-glibc-2.3.6 $ARCH = sparc CT=gcc-4.1.0-glibc-2.3.6 $ARCH = sparc64 CT=gcc-3.4.5-glibc-2.3.6 $ARCH = x86_64 CT=gcc-4.0.2-glibc-2.3.6 > I'd like to be incoporating more cross-compilation testing into our > nightlies, but this one isn't playing ball. > Sens error messages and .config? -- 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