vdso.h 598 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __PARISC_VDSO_H__
  3. #define __PARISC_VDSO_H__
  4. #ifndef __ASSEMBLY__
  5. #ifdef CONFIG_64BIT
  6. #include <generated/vdso64-offsets.h>
  7. #endif
  8. #include <generated/vdso32-offsets.h>
  9. #define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name))
  10. #define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name))
  11. extern struct vdso_data *vdso_data;
  12. #endif /* __ASSEMBLY __ */
  13. /* Default link addresses for the vDSOs */
  14. #define VDSO_LBASE 0
  15. #define VDSO_VERSION_STRING LINUX_5.18
  16. #endif /* __PARISC_VDSO_H__ */