diff options
Diffstat (limited to 'arch/sparc/include/asm/vdso.h')
| -rw-r--r-- | arch/sparc/include/asm/vdso.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/vdso.h b/arch/sparc/include/asm/vdso.h new file mode 100644 index 000000000..b17c37c80 --- /dev/null +++ b/arch/sparc/include/asm/vdso.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. + */ + +#ifndef _ASM_SPARC_VDSO_H +#define _ASM_SPARC_VDSO_H + +#define __VDSO_PAGES 4 + +#ifndef __ASSEMBLER__ + +struct vdso_image { + void *data; + unsigned long size; /* Always a multiple of PAGE_SIZE */ +}; + +#ifdef CONFIG_SPARC64 +extern const struct vdso_image vdso_image_64_builtin; +#endif +#ifdef CONFIG_COMPAT +extern const struct vdso_image vdso_image_32_builtin; +#endif + +#endif /* __ASSEMBLER__ */ + +#endif /* _ASM_SPARC_VDSO_H */ |
