From 9765eaebc4ffb1f1bdf6998c0491d2e37de1a994 Mon Sep 17 00:00:00 2001 From: Glenn Elliott Date: Thu, 3 Mar 2011 00:17:19 -0500 Subject: Kludge work-queue processing into klitirqd. NEEDS TESTING! --- include/litmus/litmus_softirq.h | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'include/litmus') diff --git a/include/litmus/litmus_softirq.h b/include/litmus/litmus_softirq.h index 712c8119ae15..e130a26685a2 100644 --- a/include/litmus/litmus_softirq.h +++ b/include/litmus/litmus_softirq.h @@ -2,6 +2,7 @@ #define __LITMUS_SOFTIRQ_H #include +#include /* Threaded tasklet handling for Litmus. Tasklets @@ -105,4 +106,25 @@ static inline void litmus_tasklet_hi_schedule_first( __litmus_tasklet_hi_schedule_first(t, k_id); } -#endif \ No newline at end of file +////////////// + +extern void __litmus_schedule_work( + struct work_struct* w, + unsigned int k_id); + +static inline void litmus_schedule_work( + struct work_struct* w, + unsigned int k_id) +{ + __litmus_schedule_work(w, k_id); +} + +#endif + + + + + + + + -- cgit v1.2.2