Re: [PATCH v7u1 12/31] x86: add get_ramdisk_image/size()

2013-01-10 Thread Borislav Petkov
On Wed, Jan 09, 2013 at 05:53:59PM -0800, Yinghai Lu wrote: > >> +static u64 __init get_ramdisk_image(void) > >> +{ > >> + u64 ramdisk_image = boot_params.hdr.ramdisk_image; > >> + > >> + return ramdisk_image; > > > > just do > > No, I will insert line between them. ... and you're going t

Re: [PATCH v7u1 12/31] x86: add get_ramdisk_image/size()

2013-01-09 Thread Yinghai Lu
On Mon, Jan 7, 2013 at 7:56 AM, Borislav Petkov wrote: > On Thu, Jan 03, 2013 at 04:48:32PM -0800, Yinghai Lu wrote: >> There are several places to find ramdisk information early for reserving >> and relocating. >> >> Use functions to make code more readable and consistent. >> >> Later will add ex

Re: [PATCH v7u1 12/31] x86: add get_ramdisk_image/size()

2013-01-07 Thread Borislav Petkov
On Thu, Jan 03, 2013 at 04:48:32PM -0800, Yinghai Lu wrote: > There are several places to find ramdisk information early for reserving > and relocating. > > Use functions to make code more readable and consistent. > > Later will add ext_ramdisk_image/size in those functions to support > loading r

[PATCH v7u1 12/31] x86: add get_ramdisk_image/size()

2013-01-03 Thread Yinghai Lu
There are several places to find ramdisk information early for reserving and relocating. Use functions to make code more readable and consistent. Later will add ext_ramdisk_image/size in those functions to support loading ramdisk above 4g. Signed-off-by: Yinghai Lu --- arch/x86/kernel/setup.c