git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f30ebc3
)
kvm: kvmclock: use get_cpu() and put_cpu()
author
Tiejun Chen
<tiejun.chen@intel.com>
Fri, 26 Sep 2014 06:00:04 +0000
(14:00 +0800)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 3 Nov 2014 11:07:33 +0000
(12:07 +0100)
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>
arch/x86/kernel/kvmclock.c
patch
|
blob
|
history
diff --cc
arch/x86/kernel/kvmclock.c
Simple merge