linux-mips
[Top] [All Lists]

Re: [PATCH 0/3] Globally defining phys_addr_t

To: Jeremy Fitzhardinge <jeremy@goop.org>
Subject: Re: [PATCH 0/3] Globally defining phys_addr_t
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Thu, 11 Sep 2008 12:03:36 +0200 (CEST)
Cc: Ingo Molnar <mingo@elte.hu>, Alex Nixon <alex.nixon@citrix.com>, Andrew Morton <akpm@linux-foundation.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Linux/MIPS Development <linux-mips@linux-mips.org>
In-reply-to: <48C8D76B.10901@goop.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <48C8D76B.10901@goop.org>
Sender: linux-mips-bounce@linux-mips.org
On Thu, 11 Sep 2008, Jeremy Fitzhardinge wrote:
> This is a repost of a little 3-patch series which Andrew has been
> carrying in -mm.  It cleans up the definition of phys_addr_t to make it
> kernel-wide rather than x86-specific, and fixes up PFN_PHYS() to use it
> to avoid address truncation.
> 
> We currently have a few workarounds for this problem in the tree, but
> Alex found another bug caused by PFN_PHYS(), so it's probably better if
> you bring these patches into tip.git for now.
> 
> PowerPC also defines a phys_addr_t with the same meaning as x86; the
> powerpc arch maintainers are happy with these patches.

If I'm not mistaking, this is also true for some MIPS machines.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds

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