#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int __litmus_tasklet_schedule(struct tasklet_struct *t, unsigned int k_id) { int ret = 0; /* assume failure */ if(unlikely((t->owner == NULL) || !is_realtime(t->owner))) { TRACE("%s: No owner associated with this tasklet!\n", __FUNCTION__); BUG(); } ret = litmus->enqueue_pai_tasklet(t); return(ret); } EXPORT_SYMBOL(__litmus_tasklet_schedule); // failure causes default Linux handling. int __litmus_tasklet_hi_schedule(struct tasklet_struct *t, unsigned int k_id) { int ret = 0; /* assume failure */ return(ret); } EXPORT_SYMBOL(__litmus_tasklet_hi_schedule); // failure causes default Linux handling. int __litmus_tasklet_hi_schedule_first(struct tasklet_struct *t, unsigned int k_id) { int ret = 0; /* assume failure */ return(ret); } EXPORT_SYMBOL(__litmus_tasklet_hi_schedule_first); // failure causes default Linux handling. int __litmus_schedule_work(struct work_struct *w, unsigned int k_id) { int ret = 0; /* assume failure */ return(ret); } EXPORT_SYMBOL(__litmus_schedule_work);