Re: [patch 09/15] clocksource: Add common vdso clock mode storage

From: Thomas Gleixner
Date: Wed Jan 15 2020 - 02:59:50 EST


Christophe Leroy <christophe.leroy@xxxxxx> writes:
>> --- a/kernel/time/vsyscall.c
>> +++ b/kernel/time/vsyscall.c
>> @@ -72,12 +72,19 @@ void update_vsyscall(struct timekeeper *
>> struct vdso_data *vdata = __arch_get_k_vdso_data();
>> struct vdso_timestamp *vdso_ts;
>> u64 nsec;
>> + s32 mode;
>
> gcc will claim 'mode' is unused when CONFIG_GENERIC_VDSO_CLOCK_MODE is
> not defined.

I know. It's intermediate and goes away a few patches later, but yes I
can fix it up.

Thanks,

tglx