From b652965369918b9d992dc42fb060240f94d98769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Tue, 15 Dec 2015 16:27:43 -0300 Subject: Fix GCC error -> 'struct vm_area_struct' has no member named 'uksm_vma_slot' --- include/linux/mm_types.h | 6 +++--- 1 file 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 { -- cgit v1.2.3