History

sched/core: Fix CONFIG_GCC_PLUGIN_RANDSTRUCT build fail

As a temporary build fix, the proper cleanup needs more work.

Peter Zijlstra committed 6 years ago

Commit 4f311af1 parent 48778461 file · +4 −2Browse files

Unified · Split

include/linux/sched.h+4−2
@@ -654,8 +654,10 @@ struct task_struct { · 653 unmodified lines
654 unsigned int ptrace;654 unsigned int ptrace;
655 655
656#ifdef CONFIG_SMP656#ifdef CONFIG_SMP
657 struct llist_node wake_entry;657 struct {
658 unsigned int wake_entry_type;658 struct llist_node wake_entry;
659 unsigned int wake_entry_type;
660 };
659 int on_cpu;661 int on_cpu;
660#ifdef CONFIG_THREAD_INFO_IN_TASK662#ifdef CONFIG_THREAD_INFO_IN_TASK
661 /* Current CPU: */663 /* Current CPU: */