From: Andi Kleen Date: Wed, 13 Feb 2008 15:20:35 +0000 (+0100) Subject: x86: CPA: fix gbpages support in try_preserve_large_page X-Git-Tag: v2.6.25-rc2~74^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d3c8b21e22712137db6bbd246d1bdcbe0a09914;p=pandora-kernel.git x86: CPA: fix gbpages support in try_preserve_large_page [ mingo@elte.hu: while gbpages cannot be enabled on mainline currently, keep the code uptodate and this fix is easy enough. ] Use correct page sizes and masks for GB pages in try_preserve_large_page() This prevents a boot hang on a GB capable system with CONFIG_DIRECT_GBPAGES enabled. Signed-off-by: Andi Kleen Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed