From: Radim Krčmář Date: Fri, 10 Oct 2014 17:15:08 +0000 (+0200) Subject: KVM: x86: add apic_timer_expired() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~40^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d87db711937019cb8eba1137c37573d7a604be8;p=pandora-kernel.git KVM: x86: add apic_timer_expired() Make the code reusable. If the timer was already pending, we shouldn't be waiting in a queue, so wake_up can be skipped, simplifying the path. There is no 'reinject' case => the comment is removed. Current race behaves correctly. Signed-off-by: Radim Krčmář Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed