diff options
author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2024-10-10 18:44:51 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-10-15 18:50:29 +0300 |
commit | fc06b914c1ce8009d6f469c512aa993b1c601da8 (patch) | |
tree | 2545f7d3ce31ff6eafb55ef95c24bca08009c7a2 /arch/loongarch | |
parent | 9025e3a6ecfcd9c9036778aa833211026c5ccf8b (diff) | |
download | linux-fc06b914c1ce8009d6f469c512aa993b1c601da8.tar.xz |
LoongArch: vdso: Remove timekeeper includes
Since the generic VDSO clock mode storage is used, this header file is
unused and can be removed.
This avoids including a non-VDSO header while building the VDSO,
which can lead to compilation errors.
Also drop the comment which is out of date and in the wrong place.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20241010-vdso-generic-arch_update_vsyscall-v1-8-7fe5a3ea4382@linutronix.de
Diffstat (limited to 'arch/loongarch')
-rw-r--r-- | arch/loongarch/include/asm/vdso/vsyscall.h | 4 | ||||
-rw-r--r-- | arch/loongarch/kernel/vdso.c | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/arch/loongarch/include/asm/vdso/vsyscall.h b/arch/loongarch/include/asm/vdso/vsyscall.h index b1273ce6f140..8987e951d0a9 100644 --- a/arch/loongarch/include/asm/vdso/vsyscall.h +++ b/arch/loongarch/include/asm/vdso/vsyscall.h @@ -4,15 +4,11 @@ #ifndef __ASSEMBLY__ -#include <linux/timekeeper_internal.h> #include <vdso/datapage.h> extern struct vdso_data *vdso_data; extern struct vdso_rng_data *vdso_rng_data; -/* - * Update the vDSO data page to keep in sync with kernel timekeeping. - */ static __always_inline struct vdso_data *__loongarch_get_k_vdso_data(void) { diff --git a/arch/loongarch/kernel/vdso.c b/arch/loongarch/kernel/vdso.c index f6fcc52aefae..4d7cb9425dc3 100644 --- a/arch/loongarch/kernel/vdso.c +++ b/arch/loongarch/kernel/vdso.c @@ -15,7 +15,6 @@ #include <linux/sched.h> #include <linux/slab.h> #include <linux/time_namespace.h> -#include <linux/timekeeper_internal.h> #include <asm/page.h> #include <asm/vdso.h> |