summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2007-02-18 21:32:48 +0000
committerad <ad@NetBSD.org>2007-02-18 21:32:48 +0000
commite434239e70e9cf1d9d2e5c69f40c896d00a605d7 (patch)
treed74bfabe2487a59aa2bf27e940c290adfea4b4c9
parent3b01cf7c93231844ea0dd9309cbddb9ff89c3e80 (diff)
Export __SIMPLELOCK_LOCKED, __SIMPLELOCK_UNLOCKED.
-rw-r--r--sys/arch/sparc/sparc/genassym.cf6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/genassym.cf b/sys/arch/sparc/sparc/genassym.cf
index 9e9746748ed..7763921efdf 100644
--- a/sys/arch/sparc/sparc/genassym.cf
+++ b/sys/arch/sparc/sparc/genassym.cf
@@ -1,4 +1,4 @@
-# $NetBSD: genassym.cf,v 1.49 2007/02/09 21:55:12 ad Exp $
+# $NetBSD: genassym.cf,v 1.50 2007/02/18 21:32:48 ad Exp $
#
# Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -271,5 +271,9 @@ define FDC_DATA offsetof(struct fdcio, fdcio_data)
define FDC_TC offsetof(struct fdcio, fdcio_tc)
define FDC_EVCNT offsetof(struct fdcio, fdcio_intrcnt.ev_count)
+# locking
define MTX_LOCK offsetof(struct kmutex, mtx_lock)
define MTX_IPL offsetof(struct kmutex, u.s.mtxs_ipl)
+
+define __SIMPLELOCK_LOCKED __SIMPLELOCK_LOCKED
+define __SIMPLELOCK_UNLOCKED __SIMPLELOCK_UNLOCKED