diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2009-03-04 07:05:40 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2009-03-26 13:50:42 -0400 |
commit | f927da178671a824cf6c530f0623544206387e57 (patch) | |
tree | fb9178ff79bfd9ee3b396ff20018eacbfb222d47 /arch/ia64/kernel/paravirt.c | |
parent | 496203b15b7249599712525c2b6aafe231b4628d (diff) |
ia64/pv_ops/pv_time_ops: add sched_clock hook.
add sched_clock() hook to paravirtualize sched_clock().
ia64 sched_clock() is based on ar.itc which isn't stable
on virtualized environment because vcpu may move around on
pcpus. So it needs paravirtualization.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/paravirt.c')
-rw-r--r-- | arch/ia64/kernel/paravirt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/kernel/paravirt.c b/arch/ia64/kernel/paravirt.c index 9f14c16f6369..6bc33a6db755 100644 --- a/arch/ia64/kernel/paravirt.c +++ b/arch/ia64/kernel/paravirt.c | |||
@@ -366,4 +366,5 @@ ia64_native_do_steal_accounting(unsigned long *new_itm) | |||
366 | 366 | ||
367 | struct pv_time_ops pv_time_ops = { | 367 | struct pv_time_ops pv_time_ops = { |
368 | .do_steal_accounting = ia64_native_do_steal_accounting, | 368 | .do_steal_accounting = ia64_native_do_steal_accounting, |
369 | .sched_clock = ia64_native_sched_clock, | ||
369 | }; | 370 | }; |