Patchwork 2.6.38.2 breaks suspend to disk

login
register
mail settings
Submitter Stefano Stabellini
Date March 31, 2011, 2:48 p.m.
Message ID <alpine.DEB.2.00.1103311546480.16492@kaball-desktop>
Download mbox | patch
Permalink /patch/679502/
State New, archived
Headers show

Comments

Patch

diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 5a0484a..0943eb2 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -891,6 +891,7 @@  void __init setup_arch(char **cmdline_p)
 		max_low_pfn = max_pfn;
 
 	high_memory = (void *)__va(max_pfn * PAGE_SIZE - 1) + 1;
+	mmu_cr4_features = read_cr4();
 #endif
 
 	/*