commit | 49a101d7169c7729c7bab6b2f896faae34bd6c3d | [log] [tgz] |
---|---|---|
author | Christophe Leroy <christophe.leroy@c-s.fr> | Thu Jan 16 17:58:27 2020 +0000 |
committer | Thomas Gleixner <tglx@linutronix.de> | Thu Jan 16 21:24:46 2020 +0100 |
tree | aa7bd28f1b8b3d1fb945ff9136f1fddc4810b8b0 | |
parent | 99570c3da96a0f7aa11c6ad4981776f3adabf3b5 [diff] |
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