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

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 = &current->tss;
+	tp = &current->thread;
 	if(!tp->w_saved)
 		return;
 
@@ -115,7 +115,7 @@
 
 	lock_kernel();
 	flush_user_windows();
-	tp = &current->tss;
+	tp = &current->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)