Andi Kleen 5d3c8b21e2 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 <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-02-13 16:20:35 +01:00
..
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-11 13:23:46 -08:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 18:24:41 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00
2008-02-09 10:46:40 +01:00