From 5f54d2983d4a2586cdafb379c15706217ffccb56 Mon Sep 17 00:00:00 2001 From: Alfred Chen Date: Sun, 11 Aug 2024 10:51:57 +0800 Subject: [PATCH] sched/alt: Fix build error withoug CONFIG_SCHED_ALT Fix issue #103 --- include/linux/sched.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 9c30fb89945eac..ddff4f3518df6a 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -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;