x86: reserve end-of-conventional-memory to 1MB, 32-bit, use paravirt_enabled
authorAlexander van Heukelum <heukelum@mailshack.com>
Tue, 4 Mar 2008 18:57:42 +0000 (19:57 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:52 +0000 (17:40 +0200)
commit2fde61fdb00c2337efc56cfbb05bde8a42864e65
tree1bb0c42e59c9e045cc8621438581bde40aee6659
parent0d7a1819e97ef89be5bcbb4b724acb9f6c873c97
x86: reserve end-of-conventional-memory to 1MB, 32-bit, use paravirt_enabled

Jeremy Fitzhardinge pointed out that looking at the boot_params
struct to determine if the system is running in a paravirtual
environment is not reliable for the Xen case, currently. He also
points out that there already exists a function to determine if
the system is running in a paravirtual environment. So let's use
that instead. This gets rid of the preprocessor test too.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup_32.c