diff options
Diffstat (limited to 'kernel/kthread.c')
-rw-r--r-- | kernel/kthread.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/kthread.c b/kernel/kthread.c index 10e489c448fe..fdea0bee7b5a 100644 --- a/kernel/kthread.c +++ b/kernel/kthread.c | |||
@@ -97,6 +97,7 @@ bool kthread_should_park(void) | |||
97 | { | 97 | { |
98 | return test_bit(KTHREAD_SHOULD_PARK, &to_kthread(current)->flags); | 98 | return test_bit(KTHREAD_SHOULD_PARK, &to_kthread(current)->flags); |
99 | } | 99 | } |
100 | EXPORT_SYMBOL_GPL(kthread_should_park); | ||
100 | 101 | ||
101 | /** | 102 | /** |
102 | * kthread_freezable_should_stop - should this freezable kthread return now? | 103 | * kthread_freezable_should_stop - should this freezable kthread return now? |
@@ -171,6 +172,7 @@ void kthread_parkme(void) | |||
171 | { | 172 | { |
172 | __kthread_parkme(to_kthread(current)); | 173 | __kthread_parkme(to_kthread(current)); |
173 | } | 174 | } |
175 | EXPORT_SYMBOL_GPL(kthread_parkme); | ||
174 | 176 | ||
175 | static int kthread(void *_create) | 177 | static int kthread(void *_create) |
176 | { | 178 | { |
@@ -411,6 +413,7 @@ void kthread_unpark(struct task_struct *k) | |||
411 | if (kthread) | 413 | if (kthread) |
412 | __kthread_unpark(k, kthread); | 414 | __kthread_unpark(k, kthread); |
413 | } | 415 | } |
416 | EXPORT_SYMBOL_GPL(kthread_unpark); | ||
414 | 417 | ||
415 | /** | 418 | /** |
416 | * kthread_park - park a thread created by kthread_create(). | 419 | * kthread_park - park a thread created by kthread_create(). |
@@ -441,6 +444,7 @@ int kthread_park(struct task_struct *k) | |||
441 | } | 444 | } |
442 | return ret; | 445 | return ret; |
443 | } | 446 | } |
447 | EXPORT_SYMBOL_GPL(kthread_park); | ||
444 | 448 | ||
445 | /** | 449 | /** |
446 | * kthread_stop - stop a thread created by kthread_create(). | 450 | * kthread_stop - stop a thread created by kthread_create(). |