aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/timer.h
diff options
context:
space:
mode:
authorkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>2006-06-30 13:25:43 +0100
committerkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>2006-06-30 13:25:43 +0100
commitae9bfcdced916158809e832ffca289761ab8d9cf (patch)
treea62d2319e6a77db62d9d1ebb431dabcf998b655e /xen/include/xen/timer.h
parent0968f0be1f81bd75a465be5c9e7dc4469ce90d95 (diff)
downloadxen-ae9bfcdced916158809e832ffca289761ab8d9cf.tar.gz
xen-ae9bfcdced916158809e832ffca289761ab8d9cf.tar.bz2
xen-ae9bfcdced916158809e832ffca289761ab8d9cf.zip
[XEN] Various softirq cleanups. Main one is to always
call smp_processor_id() after any softirq, as rescheduling may cause us to move to another processor on ia64 (spotted by Isaku Yamahata). Also get rid of many direct callers of do_softirq() by creating new function process_pending_timers(). Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/timer.h')
-rw-r--r--xen/include/xen/timer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/xen/include/xen/timer.h b/xen/include/xen/timer.h
index f0c9b7e8a5..495e81c4c3 100644
--- a/xen/include/xen/timer.h
+++ b/xen/include/xen/timer.h
@@ -89,6 +89,12 @@ extern void migrate_timer(struct timer *timer, unsigned int new_cpu);
extern void kill_timer(struct timer *timer);
/*
+ * Process pending timers on this CPU. This should be called periodically
+ * when performing work that prevents softirqs from running in a timely manner.
+ */
+extern void process_pending_timers(void);
+
+/*
* Bootstrap initialisation. Must be called before any other timer function.
*/
extern void timer_init(void);