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 <[email protected]>
---
 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

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to