WIP FPC-III support
[linux/fpc-iii.git] / arch / powerpc / include / asm / vdso / vsyscall.h
blob48cf23f1e27366709306e31bfccbee60fbf46488
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_POWERPC_VDSO_VSYSCALL_H
3 #define _ASM_POWERPC_VDSO_VSYSCALL_H
5 #ifndef __ASSEMBLY__
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 */