[PATCH 07/14] kthread: Export kthread_bind_mask()

From: Quentin Perret
Date: Thu May 07 2020 - 14:11:09 EST


It will be needed by schedutil once modularized, export it.

Signed-off-by: Quentin Perret <qperret@xxxxxxxxxx>
---
kernel/kthread.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/kthread.c b/kernel/kthread.c
index bfbfa481be3a..c0d84e1fbec2 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -430,6 +430,7 @@ void kthread_bind_mask(struct task_struct *p, const struct cpumask *mask)
{
__kthread_bind_mask(p, mask, TASK_UNINTERRUPTIBLE);
}
+EXPORT_SYMBOL_GPL(kthread_bind_mask);

/**
* kthread_bind - bind a just-created kthread to a cpu.
--
2.26.2.526.g744177e7f7-goog