summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorTiejun Chen <tiejun.chen@intel.com>2014-09-26 06:00:04 (GMT)
committerPaolo Bonzini <pbonzini@redhat.com>2014-11-03 11:07:33 (GMT)
commitc6338ce494456ed9c92ef10f63c0a8408bfeac6d (patch)
tree0ed47a0d66df4ea344cc9c96760a816b3c75069e /arch/s390
parentf30ebc312ca9def25650b4e1d01cdb425c310dca (diff)
downloadlinux-c6338ce494456ed9c92ef10f63c0a8408bfeac6d.tar.xz
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 'arch/s390')
0 files changed, 0 insertions, 0 deletions