Skip to content
Snippets Groups Projects
Commit f2ed9d2b authored by Ollrogge's avatar Ollrogge
Browse files

Update plan_to_modue.pl

parent 9d30e487
No related branches found
No related tags found
No related merge requests found
......@@ -21,8 +21,9 @@ static int loop_thread_func(void *data)
return 0;
}
static void init_rq(struct pb_rq *pb_rq)
static void init_rq(struct rq *rq)
{
struct pb_rq *pb_rq = &rq->pb;
struct task_struct *proxy_task;
proxy_task = kthread_create(loop_thread_func, NULL, "PB proxy thread");
set_pb_plan_size(pb_rq, [% plan_size %]);
......@@ -32,10 +33,16 @@ static void init_rq(struct pb_rq *pb_rq)
static int __init pb_client_init(void)
{
// struct task_struct *proxy_task;
struct rq *rq;
// proxy_task = kthread_create(loop_thread_func, NULL, "PB proxy thread");
// proxy_task->sched_class = &pb_sched_class;
rq = this_rq();
init_rq(&rq->pb);
init_rq(rq);
// rq->pb.proxy_task = proxy_task;
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment