[amd64] Save cr4 to mmu_cr4_features at boot time (Closes: #620284)
svn path=/dists/sid/linux-2.6/; revision=17182
This commit is contained in:
parent
182107daaa
commit
35d9533be5
|
@ -2,6 +2,7 @@ linux-2.6 (2.6.38-3) UNRELEASED; urgency=low
|
|||
|
||||
[ Ben Hutchings ]
|
||||
* [ppc64] Add to linux-tools package architectures (Closes: #620124)
|
||||
* [amd64] Save cr4 to mmu_cr4_features at boot time (Closes: #620284)
|
||||
|
||||
[ Aurelien Jarno ]
|
||||
* rtlwifi: fix build when PCI is not enabled.
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
Subject: [PATCH] Save cr4 to mmu_cr4_features at boot time
|
||||
Date: Thu, 31 Mar 2011 14:48:44 -0000
|
||||
From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
|
||||
|
||||
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
|
||||
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
|
||||
---
|
||||
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
|
||||
|
||||
/*
|
|
@ -1,2 +1,3 @@
|
|||
+ bugfix/all/rtlwifi-Let-rtlwifi-build-when-PCI-is-not-enabled.patch
|
||||
+ bugfix/all/rtlwifi-remove-bogus-udelay-calls.patch
|
||||
+ bugfix/x86/Save-cr4-to-mmu_cr4_features-at-boot-time.patch
|
||||
|
|
Loading…
Reference in New Issue