diff options
author | 2020-03-26 19:11:59 -0700 | |
---|---|---|
committer | 2020-03-27 12:27:45 +0100 | |
commit | 749da8ca978f19710aba496208c480ad42d37f79 (patch) | |
tree | b1915b4e6b529795285ddf6c7e60bcba7ad673f5 /net/unix/af_unix.c | |
parent | Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux (diff) | |
download | wireguard-linux-749da8ca978f19710aba496208c480ad42d37f79.tar.xz wireguard-linux-749da8ca978f19710aba496208c480ad42d37f79.zip |
clocksource/drivers/hyper-v: Make sched clock return nanoseconds correctly
The sched clock read functions return the HV clock (100ns granularity)
without converting it to nanoseconds.
Add the missing conversion.
Fixes: bd00cd52d5be ("clocksource/drivers/hyperv: Add Hyper-V specific sched clock function")
Signed-off-by: Yubo Xie <yuboxie@microsoft.com>
Signed-off-by: Tianyu Lan <Tianyu.Lan@microsoft.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20200327021159.31429-1-Tianyu.Lan@microsoft.com
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions