From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] Cleanup/fix virt_to_maddr Date: Wed, 24 Jan 2007 10:48:22 +0000 Message-ID: References: <200701241006.40587.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200701241006.40587.Christoph.Egger@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 24/1/07 09:06, "Christoph Egger" wrote: > Where virt_to_maddr() or __pa() is used, paddr_t is mostly expected rather > unsigned long. This may fix random issues in PAE mode. They're only used on Xen heap virtual addresses whose physical addresses are always below 64MB. So there should be no issues in returning a ulong. -- Keir