summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-12-15 16:27:43 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-12-15 16:31:49 -0300
commitb652965369918b9d992dc42fb060240f94d98769 (patch)
tree2e196bf662110c8304127967b54f2a030de819a6 /include/linux
parent8d91c1e411f55d7ea91b1183a2e9f8088fb4d5be (diff)
Fix GCC error -> 'struct vm_area_struct' has no member named 'uksm_vma_slot'pck-4.3.2-gnu
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mm_types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
index 3173639bd..22e032bcc 100644
--- a/include/linux/mm_types.h
+++ b/include/linux/mm_types.h
@@ -215,9 +215,6 @@ struct page_frag {
__u16 offset;
__u16 size;
#endif
-#ifdef CONFIG_UKSM
- struct vma_slot *uksm_vma_slot;
-#endif
};
#define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK)
@@ -338,6 +335,9 @@ struct vm_area_struct {
struct mempolicy *vm_policy; /* NUMA policy for the VMA */
#endif
struct vm_userfaultfd_ctx vm_userfaultfd_ctx;
+#ifdef CONFIG_UKSM
+ struct vma_slot *uksm_vma_slot;
+#endif
};
struct core_thread {