projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'char-misc-3.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregk...
[cascardo/linux.git]
/
kernel
/
locking
/
rwsem.c
diff --git
a/kernel/locking/rwsem.c
b/kernel/locking/rwsem.c
index
42f806d
..
e2d3bc7
100644
(file)
--- a/
kernel/locking/rwsem.c
+++ b/
kernel/locking/rwsem.c
@@
-12,7
+12,7
@@
#include <linux/atomic.h>
-#if
defined(CONFIG_SMP) && defined(CONFIG_RWSEM_XCHGADD_ALGORITHM)
+#if
def CONFIG_RWSEM_SPIN_ON_OWNER
static inline void rwsem_set_owner(struct rw_semaphore *sem)
{
sem->owner = current;