diff options
author | Tony Lindgren <tony@atomide.com> | 2021-02-15 07:41:56 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2021-02-15 07:41:56 +0300 |
commit | 857de6fe2f86b009df620f7cdb07c262cc17070d (patch) | |
tree | e9718ebeeef39485a51a9f8e3c8122da18c796cf /include/linux/kthread.h | |
parent | 9bbce32a20d6a72c767a7f85fd6127babd1410ac (diff) | |
parent | fbfa463be8dc7957ee4f81556e9e1ea2a951807d (diff) | |
download | linux-857de6fe2f86b009df620f7cdb07c262cc17070d.tar.xz |
Merge branch 'fixes-v5.11' into fixes
Diffstat (limited to 'include/linux/kthread.h')
-rw-r--r-- | include/linux/kthread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/kthread.h b/include/linux/kthread.h index 65b81e0c494d..2484ed97e72f 100644 --- a/include/linux/kthread.h +++ b/include/linux/kthread.h @@ -33,6 +33,9 @@ struct task_struct *kthread_create_on_cpu(int (*threadfn)(void *data), unsigned int cpu, const char *namefmt); +void kthread_set_per_cpu(struct task_struct *k, int cpu); +bool kthread_is_per_cpu(struct task_struct *k); + /** * kthread_run - create and wake a thread. * @threadfn: the function to run until signal_pending(current). |