18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. 38c2ecf20Sopenharmony_ci */ 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#ifndef _ASM_SPARC_VDSO_H 68c2ecf20Sopenharmony_ci#define _ASM_SPARC_VDSO_H 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_cistruct vdso_image { 98c2ecf20Sopenharmony_ci void *data; 108c2ecf20Sopenharmony_ci unsigned long size; /* Always a multiple of PAGE_SIZE */ 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci long sym_vvar_start; /* Negative offset to the vvar area */ 138c2ecf20Sopenharmony_ci}; 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#ifdef CONFIG_SPARC64 168c2ecf20Sopenharmony_ciextern const struct vdso_image vdso_image_64_builtin; 178c2ecf20Sopenharmony_ci#endif 188c2ecf20Sopenharmony_ci#ifdef CONFIG_COMPAT 198c2ecf20Sopenharmony_ciextern const struct vdso_image vdso_image_32_builtin; 208c2ecf20Sopenharmony_ci#endif 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci#endif /* _ASM_SPARC_VDSO_H */ 23