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

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/sched.h+4−2
@@ -654,8 +654,10 @@ struct task_struct { · 653 unmodified lines
654654 unsigned int ptrace;
655655
656656 #ifdef CONFIG_SMP
657− struct llist_node wake_entry;
658− unsigned int wake_entry_type;
657+ struct {
658+ struct llist_node wake_entry;
659+ unsigned int wake_entry_type;
660+ };
659661 int on_cpu;
660662 #ifdef CONFIG_THREAD_INFO_IN_TASK
661663 /* Current CPU: */