]> git.karo-electronics.de Git - linux-beck.git/blobdiff - include/linux/mm_types.h
aio: ifdef fields in mm_struct
[linux-beck.git] / include / linux / mm_types.h
index 0042090a4d70cd839a97c6b436ea91f8ddf51d40..6b7029ab9c8e793cb50c7ce624259176350bc451 100644 (file)
@@ -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