]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: paravirt: factor out cpu_khz to common code
authorGlauber Costa <gcosta@redhat.com>
Mon, 28 Jul 2008 14:47:52 +0000 (11:47 -0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:17 +0000 (10:15 +0200)
commit3807f345b2c610336c17c7624a0d496a38df75a0
tree63142e06c85b938ddd6f1b0ced11724f362d6d5d
parent3cf57fed216e2c1b6fdfeccb792650bab72a350a
x86: paravirt: factor out cpu_khz to common code

KVM intends to use paravirt code to calibrate khz. Xen
current code will do just fine. So as a first step, factor out
code to pvclock.c.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kernel/pvclock.c
arch/x86/xen/time.c
include/asm-x86/pvclock.h