patch-2.0.32 linux/arch/i386/kernel/smp.c
Next file: linux/arch/i386/kernel/time.c
Previous file: linux/arch/i386/kernel/setup.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Fri Nov 14 08:12:25 1997
- Orig file:
v2.0.31/linux/arch/i386/kernel/smp.c
- Orig date:
Mon Aug 11 13:42:11 1997
diff -u --recursive --new-file v2.0.31/linux/arch/i386/kernel/smp.c linux/arch/i386/kernel/smp.c
@@ -537,7 +537,13 @@
extern void calibrate_delay(void);
int cpuid=GET_APIC_ID(apic_read(APIC_ID));
unsigned long l;
+ extern struct desc_struct idt_descriptor;
+ extern int pentium_f00f_bug;
+ if (pentium_f00f_bug) {
+ __asm__ __volatile__("\tlidt %0": "=m" (idt_descriptor));
+ }
+
/*
* Activate our APIC
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov