diff options
author | Tiejun Chen <tiejun.chen@intel.com> | 2014-09-26 14:00:04 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-11-03 12:07:33 +0100 |
commit | c6338ce494456ed9c92ef10f63c0a8408bfeac6d (patch) | |
tree | 0ed47a0d66df4ea344cc9c96760a816b3c75069e /Documentation/virtual | |
parent | f30ebc312ca9def25650b4e1d01cdb425c310dca (diff) | |
download | op-kernel-dev-c6338ce494456ed9c92ef10f63c0a8408bfeac6d.zip op-kernel-dev-c6338ce494456ed9c92ef10f63c0a8408bfeac6d.tar.gz |
kvm: kvmclock: use get_cpu() and put_cpu()
We can use get_cpu() and put_cpu() to replace
preempt_disable()/cpu = smp_processor_id() and
preempt_enable() for slightly better code.
Signed-off-by: Tiejun Chen <tiejun.chen@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Documentation/virtual')
0 files changed, 0 insertions, 0 deletions