diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2009-10-08 10:55:03 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-11-09 16:21:49 -0800 |
commit | c66415b2216cebf6625a2ab01c347a2fc329671a (patch) | |
tree | 00a7cd42ac5b4a24bda7af05e5d268152c2fb8c7 /scripts/gcc-version.sh | |
parent | 9c367e53d2780b5131baecd1874835ce8ddc4ed0 (diff) |
KVM: use proper hrtimer function to retrieve expiration time
commit ace1546487a0fe4634e3251067f8a32cb2cdc099 upstream.
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.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/gcc-version.sh')
0 files changed, 0 insertions, 0 deletions