/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_VDSO_VSYSCALL_H #define __ASM_VDSO_VSYSCALL_H #define __VDSO_PAGES 6 #define VDSO_NR_VCLOCK_PAGES 2 #define VDSO_VCLOCK_PAGES_START(_b) ((_b) + (__VDSO_PAGES - VDSO_NR_VCLOCK_PAGES) * PAGE_SIZE) #define VDSO_PAGE_PVCLOCK_OFFSET 0 #define VDSO_PAGE_HVCLOCK_OFFSET 1 #ifndef __ASSEMBLER__ #include #include /* The asm-generic header needs to be included after the definitions above */ #include #endif /* !__ASSEMBLER__ */ #endif /* __ASM_VDSO_VSYSCALL_H */