diff options
author | Alok Kataria <akataria@vmware.com> | 2008-07-01 14:43:36 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-09 01:43:28 -0400 |
commit | e93ef949fd9a3f237aedfb8e64414b28980530b8 (patch) | |
tree | 4856aa8bf0e02ed1692fe7b4f545c52cdc1705a3 /arch/x86/kernel/paravirt.c | |
parent | 8fbbc4b45ce3e4c0eeb15004c79c72b6896a79c2 (diff) |
x86: rename paravirtualized TSC functions
Rename the paravirtualized calculate_cpu_khz to calibrate_tsc.
In all cases, we actually calibrate_tsc and use that as the cpu_khz value.
Signed-off-by: Alok N Kataria <akataria@vmware.com>
Signed-off-by: Dan Hecht <dhecht@vmware.com>
Cc: Dan Hecht <dhecht@vmware.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/paravirt.c')
-rw-r--r-- | arch/x86/kernel/paravirt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/paravirt.c b/arch/x86/kernel/paravirt.c index e7e5652f65bc..e0f571d58c19 100644 --- a/arch/x86/kernel/paravirt.c +++ b/arch/x86/kernel/paravirt.c | |||
@@ -285,7 +285,7 @@ struct pv_time_ops pv_time_ops = { | |||
285 | .get_wallclock = native_get_wallclock, | 285 | .get_wallclock = native_get_wallclock, |
286 | .set_wallclock = native_set_wallclock, | 286 | .set_wallclock = native_set_wallclock, |
287 | .sched_clock = native_sched_clock, | 287 | .sched_clock = native_sched_clock, |
288 | .get_cpu_khz = native_calculate_cpu_khz, | 288 | .get_tsc_khz = native_calibrate_tsc, |
289 | }; | 289 | }; |
290 | 290 | ||
291 | struct pv_irq_ops pv_irq_ops = { | 291 | struct pv_irq_ops pv_irq_ops = { |