diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-03-04 18:49:19 +0100 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-03-04 18:49:19 +0100 |
| commit | 28b1bd1cbc33cae95a309691d814399a69cf3070 (patch) | |
| tree | 6474d10332662f5302be0df8527c9e9e31e32a95 /include/linux/mutex.h | |
| parent | 2602c3ba4508f528db024c1d209256513ea05de6 (diff) | |
| parent | 1075414b06109a99b0e87601e84c74a95bd45681 (diff) | |
Merge branch 'core/locking' into tracing/ftrace
Diffstat (limited to 'include/linux/mutex.h')
| -rw-r--r-- | include/linux/mutex.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/mutex.h b/include/linux/mutex.h index 7a0e5c4f8072..3069ec7e0ab8 100644 --- a/include/linux/mutex.h +++ b/include/linux/mutex.h @@ -50,8 +50,10 @@ struct mutex { atomic_t count; spinlock_t wait_lock; struct list_head wait_list; -#ifdef CONFIG_DEBUG_MUTEXES +#if defined(CONFIG_DEBUG_MUTEXES) || defined(CONFIG_SMP) struct thread_info *owner; +#endif +#ifdef CONFIG_DEBUG_MUTEXES const char *name; void *magic; #endif @@ -68,7 +70,6 @@ struct mutex_waiter { struct list_head list; struct task_struct *task; #ifdef CONFIG_DEBUG_MUTEXES - struct mutex *lock; void *magic; #endif }; |
