lib/vdso: Fix build failure around CONFIG_GENERIC_VDSO_CLOCKSOURCE
PATCH 1/1 lib/vdso: Fix build failure around CONFIG_GENERIC_VDSO_CLOCKSOURCE
During the forward porting to 6.18 the signature of update_generic_mmio() changed and introduced one undeclared variable.
At the same time the name of the kconfig variable got invalid.
Signed-off-by Florian Bezdeka <[email protected]>
--- kernel/time/vsyscall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
kernel/time/vsyscall.c +2 -1
@@ -76,7 +76,8 @@ static inline void update_vdso_time_data(struct vdso_time_data *vdata, struct tistatic void update_generic_mmio (struct vdso_time_data *vdata,struct clocksource *cs) { -#ifdef CONFIG_GENERIC_CLOCKSOURCE_VDSO +#ifdef CONFIG_GENERIC_VDSO_CLOCKSOURCE +struct vdso_clock *vc = vdata->clock_data;u16 seq;if (cs->vdso_type == (vc->cs_type_seq >>16 ))
Signature · 1 line
2.54.0
Philippe Gerum
AppliedQuoted 15 lines · Florian Bezdeka
During the forward porting to 6.18 the signature of
update_generic_mmio()changed and introduced one undeclared variable.At the same time the name of the kconfig variable got invalid.
Signed-off-by Florian Bezdeka <[email protected]>--- kernel/time/vsyscall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)kernel/time/vsyscall.c +0
-0
kernel/time/vsyscall.c static inline void update_vdso_time_data(struct vdso_time_data *vdata, struct ti · line 83
Quoted 9 lines
kernel/time/vsyscall.c +2
-1@@ -76,7 +76,8 @@ static inline void update_vdso_time_data(struct vdso_time_data *vdata, struct tistatic void update_generic_mmio (struct vdso_time_data *vdata,struct clocksource *cs) { -#ifdef CONFIG_GENERIC_CLOCKSOURCE_VDSO +#ifdef CONFIG_GENERIC_VDSO_CLOCKSOURCE +struct vdso_clock *vc = vdata->clock_data;u16 seq;if (cs->vdso_type == (vc->cs_type_seq >>16 ))
Merged, thanks.
Signature · 1 line
Philippe.