]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Combine DEFINE_SRCU() and DEFINE_STATIC_SRCU()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 26 Nov 2014 18:42:50 +0000 (10:42 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 6 Jan 2015 19:04:27 +0000 (11:04 -0800)
commitbfa4d754f9a896d5d9e975730b06d15673fb45ed
treec24b8b1866c2150e8aff3003a4f48fb7cbf419e2
parent892a62a87c6739e89553f431127c410c1fc4d6b0
rcu: Combine DEFINE_SRCU() and DEFINE_STATIC_SRCU()

The DEFINE_SRCU() and DEFINE_STATIC_SRCU() definitions are quite
similar, so this commit combines them, saving a bit of code and removing
redundancy.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/srcu.h