Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hppa/hppa Remove unused RW lock defs.



details:   https://anonhg.NetBSD.org/src/rev/095f7a5d8897
branches:  trunk
changeset: 970162:095f7a5d8897
user:      ad <ad%NetBSD.org@localhost>
date:      Sat Mar 14 16:55:17 2020 +0000

description:
Remove unused RW lock defs.

diffstat:

 sys/arch/hppa/hppa/genassym.cf |  13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diffs (41 lines):

diff -r 48d1e289f357 -r 095f7a5d8897 sys/arch/hppa/hppa/genassym.cf
--- a/sys/arch/hppa/hppa/genassym.cf    Sat Mar 14 16:27:19 2020 +0000
+++ b/sys/arch/hppa/hppa/genassym.cf    Sat Mar 14 16:55:17 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.3 2020/02/20 08:27:38 skrll Exp $
+#      $NetBSD: genassym.cf,v 1.4 2020/03/14 16:55:17 ad Exp $
 
 #      $OpenBSD: genassym.cf,v 1.18 2001/09/20 18:31:14 mickey Exp $
 
@@ -38,7 +38,6 @@
 endif
 
 quote #define __MUTEX_PRIVATE
-quote #define __RWLOCK_PRIVATE
 
 include <sys/param.h>
 include <sys/systm.h>
@@ -48,7 +47,6 @@
 include <sys/msgbuf.h>
 include <sys/syscall.h>
 include <sys/mutex.h>
-include <sys/rwlock.h>
 include <sys/device.h>
 
 include <uvm/uvm.h>
@@ -108,15 +106,6 @@
 define MTX_OWNER               offsetof(struct kmutex, mtx_owner)
 define MTX_WAITERS             offsetof(struct kmutex, mtx_waiters)
 
-define RW_OWNER                offsetof(struct krwlock, rw_owner)
-define RW_WRITE_LOCKED         RW_WRITE_LOCKED
-define RW_WRITE_WANTED         RW_WRITE_WANTED
-define RW_READ_INCR            RW_READ_INCR
-define RW_HAS_WAITERS          RW_HAS_WAITERS
-define RW_THREAD               RW_THREAD
-define RW_READER               RW_READER
-define RW_WRITER               RW_WRITER
-
 # saved state fields
 struct trapframe
 member TF_FLAGS        tf_flags



Home | Main Index | Thread Index | Old Index