diff options
author | Zachary Amsden <zamsden@redhat.com> | 2010-08-20 08:07:25 (GMT) |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 08:51:23 (GMT) |
commit | 759379dd68c2885d1fafa433083d4487e710a685 (patch) | |
tree | d20cf95eb9f65293baa4e42e360465a2fc606e8e /include/sound/emux_synth.h | |
parent | 48434c20e18d59001469699fcaaf9cf30b815a20 (diff) | |
download | linux-fsl-qoriq-759379dd68c2885d1fafa433083d4487e710a685.tar.xz |
KVM: x86: Add helper functions for time computation
Add a helper function to compute the kernel time and convert nanoseconds
back to CPU specific cycles. Note that these must not be called in preemptible
context, as that would mean the kernel could enter software suspend state,
which would cause non-atomic operation.
Also, convert the KVM_SET_CLOCK / KVM_GET_CLOCK ioctls to use the kernel
time helper, these should be bootbased as well.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'include/sound/emux_synth.h')
0 files changed, 0 insertions, 0 deletions