From: Marcelo Tosatti Date: Thu, 8 Oct 2009 13:55:03 +0000 (-0300) Subject: KVM: use proper hrtimer function to retrieve expiration time X-Git-Tag: v2.6.32-rc6~117^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ace1546487a0fe4634e3251067f8a32cb2cdc099;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed