[Devel] [PATCH VZ10 v4 33/44] fixup! ve/kthreadd: add per-ve kthreads creation interface
Vladimir Riabchun
vladimir.riabchun at virtuozzo.com
Wed Jun 3 00:10:51 MSK 2026
struct kthread_create_work is used in functions not
covered by CONFIG_VE.
https://virtuozzo.atlassian.net/browse/VSTOR-130116
Feature: !CONFIG_VE build
Signed-off-by: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
---
kernel/kthread.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/kernel/kthread.c b/kernel/kthread.c
index eed51fdd5cc1..fe30b24235dd 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -432,7 +432,7 @@ static void create_kthread(struct kthread_create_info *create)
return create_kthread_flags(create, 0);
}
-#ifdef CONFIG_VE
+
struct kthread_create_work {
struct kthread_work work;
struct kthread_create_info *info;
@@ -447,7 +447,6 @@ static void kthread_create_fn(struct kthread_work *w)
create_kthread_flags(work->info, work->flags);
}
-#endif
static void kthread_create_add(struct kthread_create_info *create)
{
spin_lock(&kthread_create_lock);
--
2.47.1
More information about the Devel
mailing list