]> granicus.if.org Git - spl/commit
Expand SEM() outside init_rwsem and directly call __init_rwsem().
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 29 Sep 2009 10:19:09 +0000 (03:19 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 29 Sep 2009 10:19:09 +0000 (03:19 -0700)
commit0e77fc118e2c105af0df5d1c7aa6627ed601bfa1
treedbc0dd2b32827a6944bb53c6cccf26a54e441e90
parent4d54fdee1d774ddaef381893434a3721067e2c56
Expand SEM() outside init_rwsem and directly call __init_rwsem().

We need to directly call __init_rwsem() or the name gets expanded
to SEM(lock-name).  This is safe and correct for the support arches
x86/x86_64/ppc/ppc64.
include/sys/rwlock.h