Re: [PATCH 1/8] x86 boot: x86_64 build reserve_bootmem_generic fix
From: Yinghai Lu
Date: Mon Jun 16 2008 - 02:50:33 EST
On Sun, Jun 15, 2008 at 11:29 PM, Paul Jackson <pj@xxxxxxx> wrote:
> From: Paul Jackson <pj@xxxxxxx>
>
> Fix x86_64 build. The addition of a third 'flags' argument
> to reserve_bootmem() and similar routines missed one instance.
>
> Signed-off-by: Paul Jackson <pj@xxxxxxx>
>
> ---
> arch/x86/kernel/e820.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> --- linux.orig/arch/x86/kernel/e820.c 2008-06-10 21:31:21.000000000 -0700
> +++ linux/arch/x86/kernel/e820.c 2008-06-10 22:37:27.256448098 -0700
> @@ -636,7 +636,8 @@ void __init early_res_to_bootmem(u64 sta
> printk(KERN_INFO " early res: %d [%llx-%llx] %s\n", i,
> final_start, final_end - 1, r->name);
> #ifdef CONFIG_X86_64
> - reserve_bootmem_generic(final_start, final_end - final_start);
> + reserve_bootmem_generic(final_start, final_end - final_start,
> + BOOTMEM_DEFAULT);
> #else
> reserve_bootmem(final_start, final_end - final_start,
> BOOTMEM_DEFAULT);
>
> --
can you check latest tip/master?
YH
--
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/