summaryrefslogtreecommitdiffstats
path: root/drivers/parport
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2020-02-07 13:39:02 +0100
committerThomas Gleixner <tglx@linutronix.de>2020-02-17 20:12:18 +0100
commitae12e08539de6717502c2f9f83bd60df939b5c08 (patch)
tree9b62f854c65da4af87519992fca91f3e9ae75582 /drivers/parport
parent2d6b01bd88ccabba06d342ef80eaab6b39d12497 (diff)
downloadlinux-ae12e08539de6717502c2f9f83bd60df939b5c08.tar.bz2
lib/vdso: Allow fixed clock mode
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@c-s.fr> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Link: https://lkml.kernel.org/r/20200207124403.748756829@linutronix.de
Diffstat (limited to 'drivers/parport')
0 files changed, 0 insertions, 0 deletions