projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kthread: implement kthread_data()
[linux-2.6-block.git]
/
include
/
linux
/
kthread.h
diff --git
a/include/linux/kthread.h
b/include/linux/kthread.h
index f93cb6979edc705531195aebec3cd61ccd4efb35..685ea65eb803fddf1c47ee3e420fe3056278685b 100644
(file)
--- a/
include/linux/kthread.h
+++ b/
include/linux/kthread.h
@@
-30,6
+30,7
@@
struct task_struct *kthread_create(int (*threadfn)(void *data),
void kthread_bind(struct task_struct *k, unsigned int cpu);
int kthread_stop(struct task_struct *k);
int kthread_should_stop(void);
+void *kthread_data(struct task_struct *k);
int kthreadd(void *unused);
extern struct task_struct *kthreadd_task;