diff options
| author | Glenn Elliott <gelliott@cs.unc.edu> | 2011-03-03 00:17:19 -0500 |
|---|---|---|
| committer | Glenn Elliott <gelliott@cs.unc.edu> | 2011-03-03 00:17:19 -0500 |
| commit | 9765eaebc4ffb1f1bdf6998c0491d2e37de1a994 (patch) | |
| tree | 31ff20e3b542b23790430a3af2b17d2a569ab44e /include/litmus | |
| parent | 0e6a634b0b02a86c9591c1bf8c73ff0cf68475fc (diff) | |
Kludge work-queue processing into klitirqd.wip-kernthreads
NEEDS TESTING!
Diffstat (limited to 'include/litmus')
| -rw-r--r-- | include/litmus/litmus_softirq.h | 24 |
1 files changed, 23 insertions, 1 deletions
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 @@ | |||
| 2 | #define __LITMUS_SOFTIRQ_H | 2 | #define __LITMUS_SOFTIRQ_H |
| 3 | 3 | ||
| 4 | #include <linux/interrupt.h> | 4 | #include <linux/interrupt.h> |
| 5 | #include <linux/workqueue.h> | ||
| 5 | 6 | ||
| 6 | /* | 7 | /* |
| 7 | Threaded tasklet handling for Litmus. Tasklets | 8 | Threaded tasklet handling for Litmus. Tasklets |
| @@ -105,4 +106,25 @@ static inline void litmus_tasklet_hi_schedule_first( | |||
| 105 | __litmus_tasklet_hi_schedule_first(t, k_id); | 106 | __litmus_tasklet_hi_schedule_first(t, k_id); |
| 106 | } | 107 | } |
| 107 | 108 | ||
| 108 | #endif \ No newline at end of file | 109 | ////////////// |
| 110 | |||
| 111 | extern void __litmus_schedule_work( | ||
| 112 | struct work_struct* w, | ||
| 113 | unsigned int k_id); | ||
| 114 | |||
| 115 | static inline void litmus_schedule_work( | ||
| 116 | struct work_struct* w, | ||
| 117 | unsigned int k_id) | ||
| 118 | { | ||
| 119 | __litmus_schedule_work(w, k_id); | ||
| 120 | } | ||
| 121 | |||
| 122 | #endif | ||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | |||
| 127 | |||
| 128 | |||
| 129 | |||
| 130 | |||
