Merge commit '5bc66170dc486556a1e36fd384463536573f4b82' into x86/urgent
From Borislav Petkov <bp@amd64.org>: Below is a RAS fix which reverts the addition of a sysfs attribute which we agreed is not needed, post-factum. And this should go in now because that sysfs attribute is going to end up in 3.7 otherwise and thus exposed to userspace; removing it then would be a lot harder. This is done as a merge rather than a simple patch/cherry-pick since the baseline for this patch was not in the previous x86/urgent. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
@@ -68,6 +68,7 @@
|
||||
#include <linux/percpu.h>
|
||||
#include <linux/crash_dump.h>
|
||||
#include <linux/tboot.h>
|
||||
#include <linux/jiffies.h>
|
||||
|
||||
#include <video/edid.h>
|
||||
|
||||
@@ -970,13 +971,11 @@ void __init setup_arch(char **cmdline_p)
|
||||
initmem_init();
|
||||
memblock_find_dma_reserve();
|
||||
|
||||
#ifdef CONFIG_KVM_CLOCK
|
||||
#ifdef CONFIG_KVM_GUEST
|
||||
kvmclock_init();
|
||||
#endif
|
||||
|
||||
x86_init.paging.pagetable_setup_start(swapper_pg_dir);
|
||||
paging_init();
|
||||
x86_init.paging.pagetable_setup_done(swapper_pg_dir);
|
||||
x86_init.paging.pagetable_init();
|
||||
|
||||
if (boot_cpu_data.cpuid_level >= 0) {
|
||||
/* A CPU has %cr4 if and only if it has CPUID */
|
||||
@@ -1047,6 +1046,8 @@ void __init setup_arch(char **cmdline_p)
|
||||
mcheck_init();
|
||||
|
||||
arch_init_ideal_nops();
|
||||
|
||||
register_refined_jiffies(CLOCK_TICK_RATE);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_X86_32
|
||||
|
Reference in New Issue
Block a user