From: Yinghai Lu Date: Wed, 1 Jul 2009 19:32:18 +0000 (-0700) Subject: x86: add boundary check for 32bit res before expand e820 resource to alignment X-Git-Tag: v2.6.31-rc2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c5371c403abb29f01bc6cff6c5096abdf2dc524;p=pandora-kernel.git x86: add boundary check for 32bit res before expand e820 resource to alignment fix hang with HIGHMEM_64G and 32bit resource. According to hpa and Linus, use (resource_size_t)-1 to fend off big ranges. Analyzed by hpa Reported-and-tested-by: Mikael Pettersson Signed-off-by: Yinghai Lu Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed