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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/kthread.c b/kernel/kthread.c index eed51fdd5cc1..3328d79ce60b 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 +/* CONFIG_VE */ struct kthread_create_work { struct kthread_work work; struct kthread_create_info *info; @@ -446,8 +446,8 @@ static void kthread_create_fn(struct kthread_work *w) create_kthread_flags(work->info, work->flags); } +/* CONFIG_VE */ -#endif static void kthread_create_add(struct kthread_create_info *create) { spin_lock(&kthread_create_lock); -- 2.43.0 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
