Loading...
1/*
2 * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
3 */
4
5#ifndef _ASM_SPARC_VDSO_H
6#define _ASM_SPARC_VDSO_H
7
8struct vdso_image {
9 void *data;
10 unsigned long size; /* Always a multiple of PAGE_SIZE */
11 long sym_vvar_start; /* Negative offset to the vvar area */
12 long sym_vread_tick; /* Start of vread_tick section */
13 long sym_vread_tick_patch_start; /* Start of tick read */
14 long sym_vread_tick_patch_end; /* End of tick read */
15};
16
17#ifdef CONFIG_SPARC64
18extern const struct vdso_image vdso_image_64_builtin;
19#endif
20#ifdef CONFIG_COMPAT
21extern const struct vdso_image vdso_image_32_builtin;
22#endif
23
24#endif /* _ASM_SPARC_VDSO_H */
1/*
2 * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
3 */
4
5#ifndef _ASM_SPARC_VDSO_H
6#define _ASM_SPARC_VDSO_H
7
8struct vdso_image {
9 void *data;
10 unsigned long size; /* Always a multiple of PAGE_SIZE */
11
12 long sym_vvar_start; /* Negative offset to the vvar area */
13};
14
15#ifdef CONFIG_SPARC64
16extern const struct vdso_image vdso_image_64_builtin;
17#endif
18#ifdef CONFIG_COMPAT
19extern const struct vdso_image vdso_image_32_builtin;
20#endif
21
22#endif /* _ASM_SPARC_VDSO_H */