]> git.baikalelectronics.ru Git - kernel.git/commit
[SPARC64]: Kill bogus check from bootmem_init().
authorDavid S. Miller <davem@davemloft.net>
Wed, 27 Sep 2006 06:14:21 +0000 (23:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Sep 2006 06:14:21 +0000 (23:14 -0700)
commitd9e3186d054ce91665c2c7da7f6cfb84a4ef6054
treee174bca291d145b4b2128b9dd59b6e73e596b457
parentde181afdeeb8849dd0f1e333be4889131059097c
[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: David S. Miller <davem@davemloft.net>
arch/sparc64/mm/init.c