From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 24 Sep 2006 03:06:43 -0700 From: Andrew Morton Subject: Re: [PATCH] Get rid of zone_table V2 Message-Id: <20060924030643.e57f700c.akpm@osdl.org> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: linux-mm@kvack.org, Andy Whitcroft , Dave Hansen List-ID: 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 -- 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