summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorKevin Winchester <kjwinchester@gmail.com>2008-05-30 04:14:35 +0400
committerThomas Gleixner <tglx@linutronix.de>2008-06-04 15:11:47 +0400
commit511631011d39706ac81ee5e4c9084d61e5b4fd34 (patch)
treea41c7fff60e677a47bbcebbad3c73d9f135e7e91 /arch
parent2884f110d5409714f3a04eeb6d2ecd77da66b242 (diff)
downloadlinux-511631011d39706ac81ee5e4c9084d61e5b4fd34.tar.xz
x86: fix pointer type warning in arch/x86/mm/init_64.c:early_memtest
Changed the call to find_e820_area_size to pass u64 instead of unsigned long. Signed-off-by: Kevin Winchester <kjwinchester@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/mm/init_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index 998a06ea5f7d..156e6d7b0e32 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -506,7 +506,7 @@ early_param("memtest", parse_memtest);
static void __init early_memtest(unsigned long start, unsigned long end)
{
- unsigned long t_start, t_size;
+ u64 t_start, t_size;
unsigned pattern;
if (!memtest_pattern)
@@ -525,7 +525,7 @@ static void __init early_memtest(unsigned long start, unsigned long end)
if (t_start + t_size > end)
t_size = end - t_start;
- printk(KERN_CONT "\n %016lx - %016lx pattern %d",
+ printk(KERN_CONT "\n %016llx - %016llx pattern %d",
t_start, t_start + t_size, pattern);
memtest(t_start, t_size, pattern);