X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fi386%2Fpower%2Fcpu.c;h=a603f523afe2ed4477d52a37172ee6056353ff03;hb=746550cff061581f89c687ada8523670768364f2;hp=98bea6d85b037b8d544bd3abe88981d0e0682898;hpb=86090fcac5e27b630656fe3d963a6b80e26dac44;p=linux-2.6.git diff --git a/arch/i386/power/cpu.c b/arch/i386/power/cpu.c index 98bea6d85..a603f523a 100644 --- a/arch/i386/power/cpu.c +++ b/arch/i386/power/cpu.c @@ -115,9 +115,7 @@ void restore_processor_state(void) static void fix_processor_context(void) { int cpu = smp_processor_id(); - struct tss_struct * t = init_tss + cpu; - set_tss_desc(cpu,t); /* This just modifies memory; should not be necessary. But... This is necessary, because 386 hardware has concept of busy TSS or some similar stupidity. */ cpu_gdt_table[cpu][GDT_ENTRY_TSS].b &= 0xfffffdff; load_TR_desc(); /* This does ltr */