x86/vdso: Add __user annotation to VDSO32_SYMBOL
[profile/ivi/kernel-adaptation-intel-automotive.git] / arch / x86 / include / asm / vdso.h
index bb05228..fddb53d 100644 (file)
@@ -11,7 +11,8 @@ extern const char VDSO32_PRELINK[];
 #define VDSO32_SYMBOL(base, name)                                      \
 ({                                                                     \
        extern const char VDSO32_##name[];                              \
-       (void *)(VDSO32_##name - VDSO32_PRELINK + (unsigned long)(base)); \
+       (void __user *)(VDSO32_##name - VDSO32_PRELINK +                \
+                       (unsigned long)(base));                         \
 })
 #endif