diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2020-01-16 20:58:27 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-01-16 23:24:46 +0300 |
commit | 49a101d7169c7729c7bab6b2f896faae34bd6c3d (patch) | |
tree | aa7bd28f1b8b3d1fb945ff9136f1fddc4810b8b0 /kernel/time/hrtimer.c | |
parent | 99570c3da96a0f7aa11c6ad4981776f3adabf3b5 (diff) | |
download | linux-49a101d7169c7729c7bab6b2f896faae34bd6c3d.tar.xz |
lib/vdso: Only read hrtimer_res when needed in __cvdso_clock_getres()
Only perform READ_ONCE(vd[CS_HRES_COARSE].hrtimer_res) for
HRES and RAW clocks.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/7ac2f0d21652f95e2bbdfa6bd514ae6c7caf53ab.1579196675.git.christophe.leroy@c-s.fr
Diffstat (limited to 'kernel/time/hrtimer.c')
0 files changed, 0 insertions, 0 deletions