]> git.proxmox.com Git - mirror_spl.git/commit
Refactor some splat macro to function
authorChunwei Chen <david.chen@osnexus.com>
Thu, 15 Dec 2016 02:24:47 +0000 (18:24 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 15 Dec 2016 19:30:11 +0000 (11:30 -0800)
commit9c9ad845ef372a4c47a01c20e939fd2c40bc7ac6
tree81975a6019ca294556aecdeb180ad6b00a1fe50b
parent71a3c9c45d7829994d3d66f014410f7c223f88f7
Refactor some splat macro to function

Refactor the code by making splat_test_{init,fini}, splat_subsystem_{init,fini}
into functions. They don't have reason to be macro and it would be too bloated
to inline every call.

Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
18 files changed:
module/splat/splat-atomic.c
module/splat/splat-condvar.c
module/splat/splat-cred.c
module/splat/splat-ctl.c
module/splat/splat-generic.c
module/splat/splat-internal.h
module/splat/splat-kmem.c
module/splat/splat-kobj.c
module/splat/splat-linux.c
module/splat/splat-list.c
module/splat/splat-mutex.c
module/splat/splat-random.c
module/splat/splat-rwlock.c
module/splat/splat-taskq.c
module/splat/splat-thread.c
module/splat/splat-time.c
module/splat/splat-vnode.c
module/splat/splat-zlib.c