patch-2.3.99-pre6 linux/include/asm-sh/current.h

Next file: linux/include/asm-sh/delay.h
Previous file: linux/include/asm-sh/atomic.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/include/asm-sh/current.h linux/include/asm-sh/current.h
@@ -12,10 +12,9 @@
 {
 	struct task_struct *current;
 
-	__asm__("stc	$r4_bank, %0\n\t"
-		"add	%1, %0"
-		:"=&r" (current)
-		:"r" (-8192));
+	__asm__("stc	$r7_bank, %0"
+		:"=r" (current));
+
 	return current;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)