patch-2.3.16 linux/arch/sparc/kernel/windows.c
Next file: linux/arch/sparc/kernel/wof.S
Previous file: linux/arch/sparc/kernel/unaligned.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Aug 31 11:23:29 1999
- Orig file:
v2.3.15/linux/arch/sparc/kernel/windows.c
- Orig date:
Mon Apr 14 16:28:07 1997
diff -u --recursive --new-file v2.3.15/linux/arch/sparc/kernel/windows.c linux/arch/sparc/kernel/windows.c
@@ -32,7 +32,7 @@
restore %%g0, %%g0, %%g0"
: "=&r" (ctr)
: "0" (ctr),
- "i" ((const unsigned long)(&(((struct task_struct *)0)->tss.uwinmask)))
+ "i" ((const unsigned long)(&(((struct task_struct *)0)->thread.uwinmask)))
: "g4", "cc");
}
@@ -61,7 +61,7 @@
int window;
flush_user_windows();
- tp = ¤t->tss;
+ tp = ¤t->thread;
if(!tp->w_saved)
return;
@@ -115,7 +115,7 @@
lock_kernel();
flush_user_windows();
- tp = ¤t->tss;
+ tp = ¤t->thread;
for(window = 0; window < tp->w_saved; window++) {
unsigned long sp = tp->rwbuf_stkptrs[window];
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)