]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
lglock: make the per_cpu locks static
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 9 Oct 2012 21:49:51 +0000 (14:49 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 10 Oct 2012 05:15:44 +0000 (01:15 -0400)
commit466cab878ef98a0618734a1fa64a02e5fbf90867
tree956eced7877c83c6a9cbf51c3481ef568c398e51
parent462e1e1bc879d10d7c2ce96a1b1001edaaa815ba
lglock: make the per_cpu locks static

The per_cpu locks are not used outside the file which contains the
DEFINE_LGLOCK(), so we can make these symbols static.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/lglock.h