diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2009-10-08 15:55:03 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2009-10-16 17:30:25 +0200 |
commit | ace1546487a0fe4634e3251067f8a32cb2cdc099 (patch) | |
tree | 6f7ac8a23d0ac1ae5af287916cdd356de114f877 /scripts | |
parent | Linux 2.6.32-rc5 (diff) | |
download | linux-ace1546487a0fe4634e3251067f8a32cb2cdc099.tar.xz linux-ace1546487a0fe4634e3251067f8a32cb2cdc099.zip |
KVM: use proper hrtimer function to retrieve expiration time
hrtimer->base can be temporarily NULL due to racing hrtimer_start.
See switch_hrtimer_base/lock_hrtimer_base.
Use hrtimer_get_remaining which is robust against it.
CC: stable@kernel.org
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions