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 #define __VDSO_PAGES 4 9 10 #ifndef __ASSEMBLER__ 11 12 struct vdso_image { 13 void *data; 14 unsigned long size; /* Always a multiple of PAGE_SIZE */ 15 }; 16 17 #ifdef CONFIG_SPARC64 18 extern const struct vdso_image vdso_image_64_builtin; 19 #endif 20 #ifdef CONFIG_COMPAT 21 extern const struct vdso_image vdso_image_32_builtin; 22 #endif 23 24 #endif /* __ASSEMBLER__ */ 25 26 #endif /* _ASM_SPARC_VDSO_H */ 27