From: Jeremy Fitzhardinge Date: Fri, 27 Feb 2009 21:27:38 +0000 (-0800) Subject: x86-32: use brk segment for allocating initial kernel pagetable X-Git-Tag: v2.6.30-rc1~211^2~21^8~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccf3fe02e35f4abca2589f99022cc25084bbd8ae;p=pandora-kernel.git x86-32: use brk segment for allocating initial kernel pagetable Impact: use new interface instead of previous ad hoc implementation Rather than having special purpose init_pg_table_start/end variables to delimit the kernel pagetable built by head_32.S, just use the brk mechanism to extend the bss for the new pagetable. This patch removes init_pg_table_start/end and pg0, defines __brk_base (which is page-aligned and immediately follows _end), initializes the brk region to start there, and uses it for the 32-bit pagetable. Signed-off-by: Jeremy Fitzhardinge Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed