Skip to content

Commit

Permalink
spinlock_api_smp.h: fix preprocessor comments
Browse files Browse the repository at this point in the history
Correct the related comments for '#ifdef ... #endif'.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Chen Gang authored and Jiri Kosina committed Jun 19, 2013
1 parent 278cee0 commit ae58403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/spinlock_api_smp.h
Original file line number Diff line number Diff line change
@@ -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)
{

0 comments on commit ae58403

Please sign in to comment.