mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
x86: don't disable RDTSC in userland for 32bit notsc
Modern 32bit userland doesn't even boot when the TSC is disabled because ld.so tends to contain RDTSCs. So make notsc only effective for the kernel, similar to 64bit. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
135302577b
commit
8424950b5e
1 changed files with 0 additions and 1 deletions
|
@ -654,7 +654,6 @@ void __cpuinit cpu_init(void)
|
|||
printk(KERN_NOTICE "Disabling TSC...\n");
|
||||
/**** FIX-HPA: DOES THIS REALLY BELONG HERE? ****/
|
||||
clear_bit(X86_FEATURE_TSC, boot_cpu_data.x86_capability);
|
||||
set_in_cr4(X86_CR4_TSD);
|
||||
}
|
||||
|
||||
load_idt(&idt_descr);
|
||||
|
|
Loading…
Reference in a new issue