summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorKevin Winchester <kjwinchester@gmail.com>2008-05-29 21:14:35 -0300
committerThomas Gleixner <tglx@linutronix.de>2008-06-04 13:11:47 +0200
commit511631011d39706ac81ee5e4c9084d61e5b4fd34 (patch)
treea41c7fff60e677a47bbcebbad3c73d9f135e7e91 /arch/x86
parent2884f110d5409714f3a04eeb6d2ecd77da66b242 (diff)
downloadop-kernel-dev-511631011d39706ac81ee5e4c9084d61e5b4fd34.zip
op-kernel-dev-511631011d39706ac81ee5e4c9084d61e5b4fd34.tar.gz
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/x86')
-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 998a06e..156e6d7 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);
OpenPOWER on IntegriCloud