Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750741AbWCOU6o (ORCPT ); Wed, 15 Mar 2006 15:58:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751356AbWCOU6o (ORCPT ); Wed, 15 Mar 2006 15:58:44 -0500 Received: from kanga.kvack.org ([66.96.29.28]:29904 "EHLO kanga.kvack.org") by vger.kernel.org with ESMTP id S1750741AbWCOU6o (ORCPT ); Wed, 15 Mar 2006 15:58:44 -0500 Date: Wed, 15 Mar 2006 15:53:06 -0500 From: Benjamin LaHaise To: Vivek Goyal Cc: linux kernel mailing list , Fastboot mailing list , "Eric W. Biederman" , Morton Andrew Morton , gregkh@suse.de Subject: Re: [RFC][PATCH] Expanding the size of "start" and "end" field in "struct resource" Message-ID: <20060315205306.GC25361@kvack.org> References: <20060315193114.GA7465@in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060315193114.GA7465@in.ibm.com> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 876 Lines: 19 On Wed, Mar 15, 2006 at 02:31:14PM -0500, Vivek Goyal wrote: > Is there a reason why "start" and "end" field of "struct resource" are of > type unsigned long. My understanding is that "struct resource" can be used > to represent any system resource including physical memory. But unsigned > long is not suffcient to represent memory more than 4GB on PAE systems. > and compiler starts throwing warnings. Please make this depend on the kernel being compiled with PAE. We don't need to bloat 32 bit kernels needlessly. -ben -- "Time is of no importance, Mr. President, only life is important." Don't Email: . - 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/