]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sh: Fix an unusual memory initialisation error.
authorStuart Menefy <stuart.menefy@st.com>
Fri, 5 Sep 2008 07:29:40 +0000 (16:29 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 8 Sep 2008 01:35:05 +0000 (10:35 +0900)
commitf040ddaf4cfd28f25ea9d6a42d3c734d5c3f6798
tree8cb1eaf4eb57b49a345c9d6ae5ff82518632b3dd
parent664718a34348a9ef6f966c3977e8df927a378134
sh: Fix an unusual memory initialisation error.

This fixes a problems with the set up of Linux memory:

 - When reserving memory at boot time, the code previously reserved
   the bottom page of memory, and then from one page up to the end of
   the bootmap. This had the desired effect, but was strictly speaking
   wrong, as the one page was actually whatever CONFIG_ZERO_PAGE_OFFSET
   had been set to.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/setup.c