summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2004-03-18 16:03:35 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-03-18 16:03:35 -0800
commit211b2fcef6366298877f1a8c0ba95d43db86ef85 (patch)
tree02192b587bd2dbe80c26ab78a5dbc5f03545303c /include/linux
parenteac9256c17c3ea2609c3b1ad682c59b026be12e7 (diff)
[PATCH] Hotplug CPUs: Read Copy Update Changes
Add hook for RCU to handle jobs on dead cpu. Requires new tasklet_kill_immediate for RCU to clean up its tasklet (which might have been about to run, so tasklet_kill won't work).
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/interrupt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index 99b5248c6d44..220f2a8602b4 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -211,6 +211,7 @@ static inline void tasklet_hi_enable(struct tasklet_struct *t)
}
extern void tasklet_kill(struct tasklet_struct *t);
+extern void tasklet_kill_immediate(struct tasklet_struct *t, unsigned int cpu);
extern void tasklet_init(struct tasklet_struct *t,
void (*func)(unsigned long), unsigned long data);