aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/hyperv_timer.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2020-02-07 12:38:50 +0000
committerThomas Gleixner <[email protected]>2020-02-17 13:40:20 +0000
commit1dff4156d1f63b525c54aea7f097a657cbbbf837 (patch)
treef337a9758f5a7f446ee75cea7db6d47febb61838 /drivers/clocksource/hyperv_timer.c
parentARM: vdso: Remove unused function (diff)
downloadkernel-1dff4156d1f63b525c54aea7f097a657cbbbf837.tar.gz
kernel-1dff4156d1f63b525c54aea7f097a657cbbbf837.zip
lib/vdso: Allow the high resolution parts to be compiled out
If the architecture knows at compile time that there is no VDSO capable clocksource supported it makes sense to optimize the guts of the high resolution parts of the VDSO out at build time. Add a helper function to check whether the VDSO should be high resolution capable and provide a stub which can be overridden by an architecture. Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Vincenzo Frascino <[email protected]> Reviewed-by: Vincenzo Frascino <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/clocksource/hyperv_timer.c')
0 files changed, 0 insertions, 0 deletions