1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_POWERPC_VDSO_VSYSCALL_H
3 #define _ASM_POWERPC_VDSO_VSYSCALL_H
7 #include <linux/timekeeper_internal.h>
8 #include <asm/vdso_datapage.h>
11 * Update the vDSO data page to keep in sync with kernel timekeeping.
13 static __always_inline
14 struct vdso_data
*__arch_get_k_vdso_data(void)
16 return vdso_data
->data
;
18 #define __arch_get_k_vdso_data __arch_get_k_vdso_data
20 /* The asm-generic header needs to be included after the definitions above */
21 #include <asm-generic/vdso/vsyscall.h>
23 #endif /* !__ASSEMBLY__ */
25 #endif /* _ASM_POWERPC_VDSO_VSYSCALL_H */