Skip to content

Commit 241c307

Browse files
author
Ingo Molnar
committed
sched/smp: Use the SMP version of ENQUEUE_MIGRATED
Simplify the scheduler by making the CONFIG_SMP-only ENQUEUE_MIGRATED flag unconditional. Signed-off-by: Ingo Molnar <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: Dietmar Eggemann <[email protected]> Cc: Juri Lelli <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Sebastian Andrzej Siewior <[email protected]> Cc: Shrikanth Hegde <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Valentin Schneider <[email protected]> Cc: Vincent Guittot <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 0203244 commit 241c307

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

kernel/sched/sched.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2319,11 +2319,7 @@ extern const u32 sched_prio_to_wmult[40];
23192319

23202320
#define ENQUEUE_HEAD 0x10
23212321
#define ENQUEUE_REPLENISH 0x20
2322-
#ifdef CONFIG_SMP
23232322
#define ENQUEUE_MIGRATED 0x40
2324-
#else
2325-
#define ENQUEUE_MIGRATED 0x00
2326-
#endif
23272323
#define ENQUEUE_INITIAL 0x80
23282324
#define ENQUEUE_MIGRATING 0x100
23292325
#define ENQUEUE_DELAYED 0x200

0 commit comments

Comments
 (0)