blob: 59e79d35cd7384e2dd752e92d20bc599e38cb8b0 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/*
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 */
David Brazdil0f672f62019-12-10 10:32:29 +000011
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000012 long sym_vvar_start; /* Negative offset to the vvar area */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000013};
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 */