Skip to content

Commit

Permalink
sched/alt: Fix build error withoug CONFIG_SCHED_ALT
Browse files Browse the repository at this point in the history
Fix issue torvalds#103
  • Loading branch information
cchalpha committed Sep 15, 2024
1 parent df84591 commit a7bc066
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -786,11 +786,8 @@ struct task_struct {
int on_cpu;
#endif

#if defined(CONFIG_SMP) && defined(CONFIG_SCHED_ALT)
struct __call_single_node wake_entry;
#endif

#ifdef CONFIG_SMP
struct __call_single_node wake_entry;
#ifndef CONFIG_SCHED_ALT
unsigned int wakee_flips;
unsigned long wakee_flip_decay_ts;
Expand Down

0 comments on commit a7bc066

Please sign in to comment.