From: Daniel Kiper Date: Wed, 11 May 2011 20:34:38 +0000 (+0200) Subject: xen/setup: Fix for incorrect xen_extra_mem_start initialization under 32-bit X-Git-Tag: v2.6.39.1~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fa5814524bb6c60fdc28915f367d8a5aa2b72c4;p=pandora-kernel.git xen/setup: Fix for incorrect xen_extra_mem_start initialization under 32-bit commit 0f16d0dfcdb5aab97d9e368f008b070b5b3ec6d3 upstream. git commit 24bdb0b62cc82120924762ae6bc85afc8c3f2b26 (xen: do not create the extra e820 region at an addr lower than 4G) does not take into account that ifdef CONFIG_X86_32 instead of e820_end_of_low_ram_pfn() find_low_pfn_range() is called (both calls are from arch/x86/kernel/setup.c). find_low_pfn_range() behaves correctly and does not require change in xen_extra_mem_start initialization. Additionally, if xen_extra_mem_start is initialized in the same way as ifdef CONFIG_X86_64 then memory hotplug support for Xen balloon driver (under development) is broken. Signed-off-by: Daniel Kiper Signed-off-by: Konrad Rzeszutek Wilk Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed