]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf9fc01158616514b2d2af505d7f4fae00fe85fc1
tree22fa6305de44ad62123d4341bff40d5c827085ef
parentea3281031949a2bd944ba84f75f22bff04a9c4d6
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]