about summary refs log tree commit diff
path: root/nptl/sysdeps/sh/pthread_spin_trylock.S
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/sh/pthread_spin_trylock.S')
-rw-r--r--nptl/sysdeps/sh/pthread_spin_trylock.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/sh/pthread_spin_trylock.S b/nptl/sysdeps/sh/pthread_spin_trylock.S
index 63ae4d36af..18112ba230 100644
--- a/nptl/sysdeps/sh/pthread_spin_trylock.S
+++ b/nptl/sysdeps/sh/pthread_spin_trylock.S
@@ -16,7 +16,7 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
-#define EBUSY	16
+#include <pthread-errnos.h>
 
 	.globl	pthread_spin_trylock
 	.type	pthread_spin_trylock,@function
@@ -24,7 +24,7 @@
 pthread_spin_trylock:
 	tas.b	@r4
 	bf/s	1f
-	 mov	#EBUSY, r0
+	mov	#EBUSY, r0
 	mov	#0, r0
 1:
 	rts