diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-23 15:57:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-24 07:21:05 -0700 |
commit | 858f09930b32c11b40fd0c5c467982ba09b10894 (patch) | |
tree | 43972de84d69d61904f4f24ff78f99a3a82c2ff3 /include/linux/mm_types.h | |
parent | b873c2f34ecd4a5a69b41b852cbc365694541c5f (diff) | |
download | kernel_samsung_espresso10-858f09930b32c11b40fd0c5c467982ba09b10894.zip kernel_samsung_espresso10-858f09930b32c11b40fd0c5c467982ba09b10894.tar.gz kernel_samsung_espresso10-858f09930b32c11b40fd0c5c467982ba09b10894.tar.bz2 |
aio: ifdef fields in mm_struct
->ioctx_lock and ->ioctx_list are used only under CONFIG_AIO.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Zach Brown <zach.brown@oracle.com>
Cc: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/mm_types.h')
-rw-r--r-- | include/linux/mm_types.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 0042090..6b7029a 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -259,11 +259,10 @@ struct mm_struct { unsigned long flags; /* Must use atomic bitops to access the bits */ struct core_state *core_state; /* coredumping support */ - - /* aio bits */ +#ifdef CONFIG_AIO spinlock_t ioctx_lock; struct hlist_head ioctx_list; - +#endif #ifdef CONFIG_MM_OWNER /* * "owner" points to a task that is regarded as the canonical |