lockref: uninline lockref helper functions
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 2 Sep 2013 18:58:20 +0000 (11:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 2 Sep 2013 18:58:20 +0000 (11:58 -0700)
commit2f4f12e571c4e2f50f3818a3c2544929145f75dd
tree22fa6305de44ad62123d4341bff40d5c827085ef
parent15570086b590a69d59183b08a7770e316cca20a7
lockref: uninline lockref helper functions

They aren't very good to inline, since they already call external
functions (the spinlock code), and we're going to create rather more
complicated versions of them that can do the reference count updates
locklessly.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/lockref.h
lib/Makefile
lib/lockref.c [new file with mode: 0644]