X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Flinux%2Fmutex.h;h=cc31498fc526d42788b6800105ba43d8a9d25c4a;hb=104b61590dcd5f71ff518e2b820e1cdf9d0350f2;hp=8d5535c58cc28578714c99eb6a4c16bbdd5726a9;hpb=b10778a00d40b3d9fdaaf5891e802794781ff71c;p=deliverable%2Flinux.git diff --git a/include/linux/mutex.h b/include/linux/mutex.h index 8d5535c58cc2..cc31498fc526 100644 --- a/include/linux/mutex.h +++ b/include/linux/mutex.h @@ -52,7 +52,7 @@ struct mutex { atomic_t count; spinlock_t wait_lock; struct list_head wait_list; -#if defined(CONFIG_DEBUG_MUTEXES) || defined(CONFIG_SMP) +#if defined(CONFIG_DEBUG_MUTEXES) || defined(CONFIG_MUTEX_SPIN_ON_OWNER) struct task_struct *owner; #endif #ifdef CONFIG_MUTEX_SPIN_ON_OWNER @@ -133,7 +133,7 @@ static inline int mutex_is_locked(struct mutex *lock) /* * See kernel/locking/mutex.c for detailed documentation of these APIs. - * Also see Documentation/mutex-design.txt. + * Also see Documentation/locking/mutex-design.txt. */ #ifdef CONFIG_DEBUG_LOCK_ALLOC extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass);