diff options
author | Linus Torvalds | 2013-09-02 20:58:20 +0200 |
---|---|---|
committer | Linus Torvalds | 2013-09-02 20:58:20 +0200 |
commit | 2f4f12e571c4e2f50f3818a3c2544929145f75dd (patch) | |
tree | 22fa6305de44ad62123d4341bff40d5c827085ef /lib/Makefile | |
parent | vfs: reimplement d_rcu_to_refcount() using lockref_get_or_lock() (diff) | |
download | kernel-qcow2-linux-2f4f12e571c4e2f50f3818a3c2544929145f75dd.tar.gz kernel-qcow2-linux-2f4f12e571c4e2f50f3818a3c2544929145f75dd.tar.xz kernel-qcow2-linux-2f4f12e571c4e2f50f3818a3c2544929145f75dd.zip |
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>
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index 7baccfd8a4e9..f2cb3082697c 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -20,6 +20,7 @@ lib-$(CONFIG_MMU) += ioremap.o lib-$(CONFIG_SMP) += cpumask.o lib-y += kobject.o klist.o +obj-y += lockref.o obj-y += bcd.o div64.o sort.o parser.o halfmd4.o debug_locks.o random32.o \ bust_spinlocks.o hexdump.o kasprintf.o bitmap.o scatterlist.o \ |