x86-64: Move out cleanup higmap [_brk_end, _end) out of init_memory_mapping()
authorYinghai Lu <yinghai@kernel.org>
Tue, 28 Dec 2010 00:48:32 +0000 (16:48 -0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 5 Jan 2011 13:03:45 +0000 (14:03 +0100)
commitf005fe12b90c5b9fe180a09209a893e09affa8aa
treef5544ae1780be20c0f6fdef51dd37eee4dc8c7af
parent1411e0ec3123ae4c4ead6bfc9fe3ee5a3ae5c327
x86-64: Move out cleanup higmap [_brk_end, _end) out of init_memory_mapping()

It is not related to init_memory_mapping(),  and init_memory_mapping() is
getting more bigger.

So make it as seperated function and call it from reserve_brk() and that is
point when _brk_end is concluded.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <4D1933E0.7090305@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/setup.c
arch/x86/mm/init.c