xref: /OK3568_Linux_fs/kernel/arch/sparc/include/asm/vdso.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
3*4882a593Smuzhiyun  */
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun #ifndef _ASM_SPARC_VDSO_H
6*4882a593Smuzhiyun #define _ASM_SPARC_VDSO_H
7*4882a593Smuzhiyun 
8*4882a593Smuzhiyun struct vdso_image {
9*4882a593Smuzhiyun 	void *data;
10*4882a593Smuzhiyun 	unsigned long size;   /* Always a multiple of PAGE_SIZE */
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun 	long sym_vvar_start;  /* Negative offset to the vvar area */
13*4882a593Smuzhiyun };
14*4882a593Smuzhiyun 
15*4882a593Smuzhiyun #ifdef CONFIG_SPARC64
16*4882a593Smuzhiyun extern const struct vdso_image vdso_image_64_builtin;
17*4882a593Smuzhiyun #endif
18*4882a593Smuzhiyun #ifdef CONFIG_COMPAT
19*4882a593Smuzhiyun extern const struct vdso_image vdso_image_32_builtin;
20*4882a593Smuzhiyun #endif
21*4882a593Smuzhiyun 
22*4882a593Smuzhiyun #endif /* _ASM_SPARC_VDSO_H */
23