patch-2.4.4 linux/arch/sh/kernel/entry.S

Next file: linux/arch/sh/kernel/hd64465_gpio.c
Previous file: linux/arch/sh/kernel/cf-enabler.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/arch/sh/kernel/entry.S linux/arch/sh/kernel/entry.S
@@ -182,7 +182,7 @@
 	jsr	@r0
 	 mov	r15, r4
 	!
-	tst	#0xff, r0
+	tst	r0, r0
 	bf/s	0f
 	 lds	r10, pr
 	rts
@@ -550,10 +550,10 @@
 ret_with_reschedule:
 	stc	k_current, r1
 	mov.l	@(need_resched,r1), r0
-	tst	#0xff, r0
+	tst	r0, r0
 	bf	reschedule
 	mov.l	@(sigpending,r1), r0
-	tst	#0xff, r0
+	tst	r0, r0
 	bt	restore_all
 signal_return:
 	mov	r15, r4

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