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 Nov 18, 2024
1 parent b1f4f32 commit 5f54d29
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 @@ -808,11 +808,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 5f54d29

Please sign in to comment.