[Top] [All Lists]

Re: [PATCH] fix pfn_pte for 64BIT_PHYS_ADDR

To: Andrew Isaacson <>
Subject: Re: [PATCH] fix pfn_pte for 64BIT_PHYS_ADDR
From: Ralf Baechle <>
Date: Wed, 17 Aug 2005 11:16:53 +0100
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/
On Tue, Aug 16, 2005 at 11:12:32PM -0700, Andrew Isaacson wrote:

> On CONFIG_64BIT_PHYS_ADDR, pfn always fits in 'unsigned long', but
> pfn<<PAGE_SHIFT sometimes extends beyond.  The pte is big enough to hold
> 'long long', but the shift in pfn_pte() needs to do its calculation with
> enough bits to hold the result.

Thanks, applied also.


<Prev in Thread] Current Thread [Next in Thread>