Re: [patch V2 15/17] lib/vdso: Allow fixed clock mode

From: Vincenzo Frascino
Date: Mon Feb 17 2020 - 06:14:13 EST


On 07/02/2020 12:39, Thomas Gleixner wrote:
> From: Christophe Leroy <christophe.leroy@xxxxxx>
>
> Some architectures have a fixed clocksource which is known at compile time
> and cannot be replaced or disabled at runtime, e.g. timebase on
> PowerPC. For such cases the clock mode check in the VDSO code is pointless.
>
> Move the check for a VDSO capable clocksource into an inline function and
> allow architectures to redefine it via a macro.
>
> [ tglx: Removed the #ifdef mess ]
>
> Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxx>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>


Reviewed-by: Vincenzo Frascino <vincenzo.frascino@xxxxxxx>
Tested-by: Vincenzo Frascino <vincenzo.frascino@xxxxxxx>

[...]

--
Regards,
Vincenzo

Attachment: pEpkey.asc
Description: application/pgp-keys