aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/i386/kernel/cpu/common.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/i386/kernel/cpu/common.c b/arch/i386/kernel/cpu/common.c
index 9ad43be9a01f..a162c0326b4a 100644
--- a/arch/i386/kernel/cpu/common.c
+++ b/arch/i386/kernel/cpu/common.c
@@ -607,12 +607,6 @@ void __devinit cpu_init(void)
607 cpu_gdt_descr[cpu].address = 607 cpu_gdt_descr[cpu].address =
608 (unsigned long)&per_cpu(cpu_gdt_table, cpu); 608 (unsigned long)&per_cpu(cpu_gdt_table, cpu);
609 609
610 /*
611 * Set up the per-thread TLS descriptor cache:
612 */
613 memcpy(thread->tls_array, &per_cpu(cpu_gdt_table, cpu),
614 GDT_ENTRY_TLS_ENTRIES * 8);
615
616 load_gdt(&cpu_gdt_descr[cpu]); 610 load_gdt(&cpu_gdt_descr[cpu]);
617 load_idt(&idt_descr); 611 load_idt(&idt_descr);
618 612