spinlock_api_smp.h: fix preprocessor comments
Correct the related comments for '#ifdef ... #endif'. Signed-off-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
278cee0515
commit
ae58403f15
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
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)
|
static inline void __raw_spin_unlock(raw_spinlock_t *lock)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue