summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm/s3c2xx0/s3c2xx0_mutex.c4
-rw-r--r--sys/arch/arm/xscale/i80321_mutex.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/arm/s3c2xx0/s3c2xx0_mutex.c b/sys/arch/arm/s3c2xx0/s3c2xx0_mutex.c
index e186a756ca7..9cd5bb4466b 100644
--- a/sys/arch/arm/s3c2xx0/s3c2xx0_mutex.c
+++ b/sys/arch/arm/s3c2xx0/s3c2xx0_mutex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s3c2xx0_mutex.c,v 1.2 2009/08/13 13:24:55 weingart Exp $ */
+/* $OpenBSD: s3c2xx0_mutex.c,v 1.3 2009/08/13 19:39:46 deraadt Exp $ */
/*
* Copyright (c) 2004 Artur Grabowski <art@openbsd.org>
@@ -57,7 +57,7 @@ mtx_enter(struct mutex *mtx)
mtx->mtx_lock = 1;
}
-void
+int
mtx_enter_try(struct mutex *mtx)
{
if (mtx->mtx_wantipl != IPL_NONE)
diff --git a/sys/arch/arm/xscale/i80321_mutex.c b/sys/arch/arm/xscale/i80321_mutex.c
index 9271d29c5ad..ae09878a654 100644
--- a/sys/arch/arm/xscale/i80321_mutex.c
+++ b/sys/arch/arm/xscale/i80321_mutex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i80321_mutex.c,v 1.2 2009/08/13 13:24:55 weingart Exp $ */
+/* $OpenBSD: i80321_mutex.c,v 1.3 2009/08/13 19:39:46 deraadt Exp $ */
/*
* Copyright (c) 2004 Artur Grabowski <art@openbsd.org>
@@ -57,7 +57,7 @@ mtx_enter(struct mutex *mtx)
mtx->mtx_lock = 1;
}
-void
+int
mtx_enter_try(struct mutex *mtx)
{
if (mtx->mtx_wantipl != IPL_NONE)