From 01573e231f18eb2d99162747186f59511f56b64d Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 08 Dec 2023 10:40:48 +0000 Subject: [PATCH] 移去rt --- kernel/arch/x86/include/asm/vgtod.h | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/kernel/arch/x86/include/asm/vgtod.h b/kernel/arch/x86/include/asm/vgtod.h index 0782d30..7aa38b2 100644 --- a/kernel/arch/x86/include/asm/vgtod.h +++ b/kernel/arch/x86/include/asm/vgtod.h @@ -12,17 +12,13 @@ #include <vdso/datapage.h> #include <vdso/helpers.h> +#include <uapi/linux/time.h> + #ifdef BUILD_VDSO32_64 typedef u64 gtod_long_t; #else typedef unsigned long gtod_long_t; #endif #endif /* CONFIG_GENERIC_GETTIMEOFDAY */ - -extern int vclocks_used; -static inline bool vclock_was_used(int vclock) -{ - return READ_ONCE(vclocks_used) & (1 << vclock); -} #endif /* _ASM_X86_VGTOD_H */ -- Gitblit v1.6.2