commit | f791dd2589d7e217625d7e411621a5bac71cbf69 | [log] [tgz] |
---|---|---|
author | Cheng Jian <[email protected]> | Fri Nov 03 18:59:48 2017 +0800 |
committer | Ingo Molnar <[email protected]> | Tue Nov 07 12:22:21 2017 +0100 |
tree | a9fc6ee08d784158ebc7fa2e2421b31f12a1dada | |
parent | 8c5db92a705d9e2c986adec475980d1120fa07b4 [diff] [blame] |
locking/rwlocks: Fix comments - fix the list of locking API headers in kernel/locking/spinlock.c - fix an #endif comment Signed-off-by: Cheng Jian <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
diff --git a/include/linux/rwlock_api_smp.h b/include/linux/rwlock_api_smp.h index 5b9b84b..86ebb4b 100644 --- a/include/linux/rwlock_api_smp.h +++ b/include/linux/rwlock_api_smp.h
@@ -211,7 +211,7 @@ static inline void __raw_write_lock(rwlock_t *lock) LOCK_CONTENDED(lock, do_raw_write_trylock, do_raw_write_lock); } -#endif /* CONFIG_PREEMPT */ +#endif /* !CONFIG_GENERIC_LOCKBREAK || CONFIG_DEBUG_LOCK_ALLOC */ static inline void __raw_write_unlock(rwlock_t *lock) {