Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v3)

From: Ingo Molnar
Date: Thu Sep 18 2008 - 05:57:50 EST



* Jan Beulich <jbeulich@xxxxxxxxxx> wrote:

> I'm really sorry for that, yet another merge oversight (not caught
> because only re-tested on x86-64). Here's a better one.

ah, i see, the delta below. Nasty.

Ingo

------------->
arch/x86/mm/ioremap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c
index 8703468..63fb796 100644
--- a/arch/x86/mm/ioremap.c
+++ b/arch/x86/mm/ioremap.c
@@ -22,7 +22,7 @@
#include <asm/pgalloc.h>
#include <asm/pat.h>

-static inline int phys_addr_valid(unsigned long addr)
+static inline int phys_addr_valid(resource_size_t addr)
{
#ifdef CONFIG_RESOURCES_64BIT
return !(addr >> boot_cpu_data.x86_phys_bits);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/