summaryrefslogtreecommitdiffstats
path: root/arch/ia64/include/asm/timex.h
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2009-03-04 21:05:40 +0900
committerTony Luck <tony.luck@intel.com>2009-03-26 10:50:42 -0700
commitf927da178671a824cf6c530f0623544206387e57 (patch)
treefb9178ff79bfd9ee3b396ff20018eacbfb222d47 /arch/ia64/include/asm/timex.h
parent496203b15b7249599712525c2b6aafe231b4628d (diff)
downloadop-kernel-dev-f927da178671a824cf6c530f0623544206387e57.zip
op-kernel-dev-f927da178671a824cf6c530f0623544206387e57.tar.gz
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/include/asm/timex.h')
-rw-r--r--arch/ia64/include/asm/timex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/timex.h b/arch/ia64/include/asm/timex.h
index 4e03cfe..86c7db8 100644
--- a/arch/ia64/include/asm/timex.h
+++ b/arch/ia64/include/asm/timex.h
@@ -40,5 +40,6 @@ get_cycles (void)
}
extern void ia64_cpu_local_tick (void);
+extern unsigned long long ia64_native_sched_clock (void);
#endif /* _ASM_IA64_TIMEX_H */
OpenPOWER on IntegriCloud