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)
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]

Simple merge
diff --cc lib/Makefile
Simple merge
diff --cc lib/lockref.c
Simple merge