]> Git Repo - linux.git/commitdiff
spinlock_api_smp.h: fix preprocessor comments
authorChen Gang <[email protected]>
Wed, 19 Jun 2013 03:15:46 +0000 (11:15 +0800)
committerJiri Kosina <[email protected]>
Wed, 19 Jun 2013 21:34:50 +0000 (23:34 +0200)
Correct the related comments for '#ifdef ... #endif'.

Signed-off-by: Chen Gang <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
include/linux/spinlock_api_smp.h

index 51df117abe46279223ed1f2a7cb911998aca5ecc..bdb9993f0fda648ee2dc58a59ff26372314a02de 100644 (file)
@@ -144,7 +144,7 @@ static inline void __raw_spin_lock(raw_spinlock_t *lock)
        LOCK_CONTENDED(lock, do_raw_spin_trylock, do_raw_spin_lock);
 }
 
-#endif /* CONFIG_PREEMPT */
+#endif /* !CONFIG_GENERIC_LOCKBREAK || CONFIG_DEBUG_LOCK_ALLOC */
 
 static inline void __raw_spin_unlock(raw_spinlock_t *lock)
 {
This page took 0.056995 seconds and 4 git commands to generate.