sh: Fix up early mem cmdline parsing.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 30 Oct 2007 08:18:08 +0000 (17:18 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 30 Oct 2007 08:18:08 +0000 (17:18 +0900)
commit7e5186eaae8eebc0101d539791dbff92256455ee
treea09dc7463aa63865126af3f84d29e245a7bec3a1
parent16f393df496cfe74f7a26a1ba85e41fd818c0582
sh: Fix up early mem cmdline parsing.

memory_end was being clobbered by whatever the kernel config had
specified, rather than obeying the setup option. Fix this up so
that memory_end is only initialized if nothing has been set on
the command line.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/setup.c