Commit 4f311afc authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Borislav Petkov

sched/core: Fix CONFIG_GCC_PLUGIN_RANDSTRUCT build fail

As a temporary build fix, the proper cleanup needs more work.
Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
Reported-by: default avatarEric Biggers <ebiggers@kernel.org>
Suggested-by: default avatarEric Biggers <ebiggers@kernel.org>
Suggested-by: default avatarKees Cook <keescook@chromium.org>
Fixes: a1488664 ("sched: Replace rq::wake_list")
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 48778464
......@@ -654,8 +654,10 @@ struct task_struct {
unsigned int ptrace;
#ifdef CONFIG_SMP
struct llist_node wake_entry;
unsigned int wake_entry_type;
struct {
struct llist_node wake_entry;
unsigned int wake_entry_type;
};
int on_cpu;
#ifdef CONFIG_THREAD_INFO_IN_TASK
/* Current CPU: */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment