Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 | |
| 8 | struct vdso_image { |
| 9 | void *data; |
| 10 | unsigned long size; /* Always a multiple of PAGE_SIZE */ |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 11 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 12 | long sym_vvar_start; /* Negative offset to the vvar area */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 13 | }; |
| 14 | |
| 15 | #ifdef CONFIG_SPARC64 |
| 16 | extern const struct vdso_image vdso_image_64_builtin; |
| 17 | #endif |
| 18 | #ifdef CONFIG_COMPAT |
| 19 | extern const struct vdso_image vdso_image_32_builtin; |
| 20 | #endif |
| 21 | |
| 22 | #endif /* _ASM_SPARC_VDSO_H */ |