aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/softirq.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-04-15 15:03:40 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-04-15 15:03:40 +0100
commitc6b465270554f67e8fd3074f7ddb9fc531958613 (patch)
tree2a1d183eff191aa76fa15003faf150b85722b3a1 /xen/include/xen/softirq.h
parenta20735e84bc1d319f523cb179d0bfba764891038 (diff)
downloadxen-c6b465270554f67e8fd3074f7ddb9fc531958613.tar.gz
xen-c6b465270554f67e8fd3074f7ddb9fc531958613.tar.bz2
xen-c6b465270554f67e8fd3074f7ddb9fc531958613.zip
Tasklet bug fixes.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/xen/softirq.h')
-rw-r--r--xen/include/xen/softirq.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/include/xen/softirq.h b/xen/include/xen/softirq.h
index 4fa7a39b0c..0b59f63b22 100644
--- a/xen/include/xen/softirq.h
+++ b/xen/include/xen/softirq.h
@@ -62,12 +62,13 @@ struct tasklet
struct list_head list;
bool_t is_scheduled;
bool_t is_running;
+ bool_t is_dead;
void (*func)(unsigned long);
unsigned long data;
};
#define DECLARE_TASKLET(name, func, data) \
- struct tasklet name = { LIST_HEAD_INIT(name.list), 0, 0, func, data }
+ struct tasklet name = { LIST_HEAD_INIT(name.list), 0, 0, 0, func, data }
void tasklet_schedule(struct tasklet *t);
void tasklet_kill(struct tasklet *t);