• David S. Miller's avatar
    SPARC64: Fix sparc64 ramdisk handling · f17c622e
    David S. Miller authored
    [SPARC64]: Kill bogus check from bootmem_init().
    
    There is an ancient and totally incorrect sanity check being
    done on the ramdisk location.  The check assumes that the
    kernel is always loaded to physical address zero, which is
    wrong.  It was trying to validate the ramdisk value by saying that
    if it fell within the kernel image address range it must be wrong.
    
    Anyways, kill this because it actually creates problems.  The
    'ramdisk_image' should always be adjusted down by KERNBASE.
    SILO can easily put the ramdisk in a location which causes
    this test to trigger, breaking things.
    
    [ Based almost entirely upon a patch from Ben Collins. ]
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    f17c622e
init.c 48.9 KB