vdso.h 470 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (C) 2012 ARM Limited
  4. */
  5. #ifndef __ASM_VDSO_H
  6. #define __ASM_VDSO_H
  7. #define __VDSO_PAGES 4
  8. #ifndef __ASSEMBLER__
  9. #include <generated/vdso-offsets.h>
  10. #define VDSO_SYMBOL(base, name) \
  11. ({ \
  12. (void *)(vdso_offset_##name + (unsigned long)(base)); \
  13. })
  14. extern char vdso_start[], vdso_end[];
  15. extern char vdso32_start[], vdso32_end[];
  16. #endif /* !__ASSEMBLER__ */
  17. #endif /* __ASM_VDSO_H */