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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Thursday, September 18, 2008 - 2:57 am

* Jan Beulich <jbeulich@novell.com> wrote:


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);
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v3), Ingo Molnar, (Thu Sep 18, 2:57 am)
Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v3), Jeremy Fitzhardinge, (Thu Sep 18, 11:00 am)
Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v3), Jeremy Fitzhardinge, (Fri Sep 19, 2:46 pm)