]> granicus.if.org Git - spl/commit
Cleaned up MUTEX() #define
authorGunnar Beutner <gunnar@beutner.name>
Wed, 19 Oct 2011 16:04:40 +0000 (18:04 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 19 Oct 2011 16:59:32 +0000 (09:59 -0700)
commitf5e76dea03453c72fb46ad90dd2e01c73b70654f
treecae9b0dddc51ead54d90c941dbca4d7135b79ad1
parent66cdc93b8c030db70a50563ac26f02301dde30ff
Cleaned up MUTEX() #define

The old define assumed a specific layout of the kmutex_t struct. This
patch makes the macro independent from the actual struct layout.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
include/sys/mutex.h