]> www.infradead.org Git - users/jedix/linux-maple.git/commit
DIF_SUBR_RW_READ_HELD's parameter should be an rwlock_t.
authorNick Alcock <nick.alcock@oracle.com>
Fri, 20 Jul 2012 22:02:56 +0000 (23:02 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 20 Jul 2012 22:02:56 +0000 (23:02 +0100)
commit2e59cd96d4ac2d71ae9fa27fcfc5b1e1f0a64666
tree59de8391b02981d38f67acbd2527851f90917ef3
parent3c1887d58b0186b05c52f3c49da0b6cea672e904
DIF_SUBR_RW_READ_HELD's parameter should be an rwlock_t.

Even if Solaris gives DIF_SUBR_RW_READ_HELD and DIF_SUBR_RW_WRITE_HELD different
parameter types, that doesn't mean we have to copy its mistake.  An rwlock is an
rwlock whether you are testing for a read or a write hold.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
dtrace/dtrace_dif.c