mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
2884f110d5
commit
511631011d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue