]> 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)
commit853d4faf4912100f9dab5959c273a99580ee1ac7
tree22fa6305de44ad62123d4341bff40d5c827085ef
parentbc475441c9740d7cab9514eb36d3cb9dd5b4e78c
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]