patch-2.2.8 linux/arch/m68k/lib/semaphore.S

Next file: linux/arch/m68k/mm/init.c
Previous file: linux/arch/m68k/kernel/time.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.7/linux/arch/m68k/lib/semaphore.S linux/arch/m68k/lib/semaphore.S
@@ -32,6 +32,16 @@
 	movel (%sp)+,%a0
 	rts
 
+ENTRY(__down_failed_trylock)
+	movel %a0,-(%sp)
+	movel %d1,-(%sp)
+	movel %a1,-(%sp)
+	jbsr SYMBOL_NAME(__down_trylock)
+	movel (%sp)+,%a1
+	movel (%sp)+,%d1
+	movel (%sp)+,%a0
+	rts
+
 ENTRY(__up_wakeup)
 	moveml %a0/%d0/%d1,-(%sp)
 	movel %a1,-(%sp)

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