git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
arch
/
i386
/
power
/
cpu.c
diff --git
a/arch/i386/power/cpu.c
b/arch/i386/power/cpu.c
index
98bea6d
..
a603f52
100644
(file)
--- 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();
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 */
cpu_gdt_table[cpu][GDT_ENTRY_TSS].b &= 0xfffffdff;
load_TR_desc(); /* This does ltr */