vdso.h 662 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
  3. */
  4. #ifndef _ASM_SPARC_VDSO_H
  5. #define _ASM_SPARC_VDSO_H
  6. struct vdso_image {
  7. void *data;
  8. unsigned long size; /* Always a multiple of PAGE_SIZE */
  9. long sym_vvar_start; /* Negative offset to the vvar area */
  10. long sym_vread_tick; /* Start of vread_tick section */
  11. long sym_vread_tick_patch_start; /* Start of tick read */
  12. long sym_vread_tick_patch_end; /* End of tick read */
  13. };
  14. #ifdef CONFIG_SPARC64
  15. extern const struct vdso_image vdso_image_64_builtin;
  16. #endif
  17. #ifdef CONFIG_COMPAT
  18. extern const struct vdso_image vdso_image_32_builtin;
  19. #endif
  20. #endif /* _ASM_SPARC_VDSO_H */