aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/timer.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-12-11 08:50:13 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-12-11 08:50:13 +0000
commit768e0ace278a0c08818186bddd953b7f050a23b7 (patch)
treefc938fa67f384408384e742ea815c9b22e7428c5 /xen/include/xen/timer.h
parentdcf8b0114d60b057d94007dba3ca7f4e758da89c (diff)
downloadxen-768e0ace278a0c08818186bddd953b7f050a23b7.tar.gz
xen-768e0ace278a0c08818186bddd953b7f050a23b7.tar.bz2
xen-768e0ace278a0c08818186bddd953b7f050a23b7.zip
x86: Allow HPET to set timers more sloppily by seeing each CPU's
acceptable deadline range, rather than just deadline start. Signed-off-by: Wei Gang <gang.wei@intel.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/xen/timer.h')
-rw-r--r--xen/include/xen/timer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/include/xen/timer.h b/xen/include/xen/timer.h
index 0379d950a3..1994eff00f 100644
--- a/xen/include/xen/timer.h
+++ b/xen/include/xen/timer.h
@@ -117,7 +117,8 @@ extern void timer_init(void);
* Next timer deadline for each CPU.
* Modified only by the local CPU and never in interrupt context.
*/
-DECLARE_PER_CPU(s_time_t, timer_deadline);
+DECLARE_PER_CPU(s_time_t, timer_deadline_start);
+DECLARE_PER_CPU(s_time_t, timer_deadline_end);
/* Arch-defined function to reprogram timer hardware for new deadline. */
extern int reprogram_timer(s_time_t timeout);