Message ID | 591BC0DF.4040500@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h index 3d9d786..f534df6 100644 --- a/include/linux/vmalloc.h +++ b/include/linux/vmalloc.h @@ -16,6 +16,13 @@ #define VM_ALLOC 0x00000002 /* vmalloc() */ #define VM_MAP 0x00000004 /* vmap()ed pages */ #define VM_USERMAP 0x00000008 /* suitable for remap_vmalloc_range */ + +#ifdef CONFIG_ARM64 +#define VM_KERNEL 0x00000010 +#else +#define VM_KERNEL 0 +#endif + how about the above change ? >> #define VM_UNINITIALIZED 0x00000020 /* vm_struct is not fully initialized */