| To: | Andrew Isaacson <adi@broadcom.com> |
|---|---|
| Subject: | Re: [PATCH] fix pfn_pte for 64BIT_PHYS_ADDR |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Wed, 17 Aug 2005 11:16:53 +0100 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <20050817061232.GN24444@broadcom.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20050817061232.GN24444@broadcom.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.4.2.1i |
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. Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] casts in TLB macros, Ralf Baechle |
|---|---|
| Next by Date: | Re: [PATCH] casts in TLB macros, Andrew Isaacson |
| Previous by Thread: | [PATCH] fix pfn_pte for 64BIT_PHYS_ADDR, Andrew Isaacson |
| Next by Thread: | Re: NAPI poll routine happens in interrupt context?, Joshua Wise |
| Indexes: | [Date] [Thread] [Top] [All Lists] |