projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/vdso: Add __user annotation to VDSO32_SYMBOL
[profile/ivi/kernel-adaptation-intel-automotive.git]
/
arch
/
x86
/
include
/
asm
/
vdso.h
diff --git
a/arch/x86/include/asm/vdso.h
b/arch/x86/include/asm/vdso.h
index
bb05228
..
fddb53d
100644
(file)
--- a/
arch/x86/include/asm/vdso.h
+++ b/
arch/x86/include/asm/vdso.h
@@
-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