[PATCH] Fix a compile warning in arch/x86/mm/init_64.c
From: Hans J. Koch
Date: Wed Jul 09 2008 - 18:52:20 EST
This fixes a minor compile warning in arch/x86/mm/init_64.c about passing a
wrong pointer type as argument 2 to find_e820_area_size().
Tested with 2.6.26-rc9.
Signed-of-by: Hans J. Koch <hjk@xxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
---
arch/x86/mm/init_64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.26-rc/arch/x86/mm/init_64.c
===================================================================
--- linux-2.6.26-rc.orig/arch/x86/mm/init_64.c 2008-07-10 00:18:52.000000000 +0200
+++ linux-2.6.26-rc/arch/x86/mm/init_64.c 2008-07-10 00:25:43.000000000 +0200
@@ -506,7 +506,7 @@
static void __init early_memtest(unsigned long start, unsigned long end)
{
- u64 t_start, t_size;
+ unsigned long t_start, t_size;
unsigned pattern;
if (!memtest_pattern)
--
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/