Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b768917d authored by Ingo Molnar's avatar Ingo Molnar
Browse files

sched/headers: Move the 'cpu_idle_type' enum from <linux/sched.h> to <linux/sched/idle.h>



Acked-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent a60b9eda
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -943,13 +943,6 @@ static inline int sched_info_on(void)
void force_schedstat_enabled(void);
#endif

enum cpu_idle_type {
	CPU_IDLE,
	CPU_NOT_IDLE,
	CPU_NEWLY_IDLE,
	CPU_MAX_IDLE_TYPES
};

/*
 * Integer metrics need fixed point arithmetic, e.g., sched/fair
 * has a few: load, load_avg, util_avg, freq, and capacity.
+7 −0
Original line number Diff line number Diff line
@@ -3,4 +3,11 @@

#include <linux/sched.h>

enum cpu_idle_type {
	CPU_IDLE,
	CPU_NOT_IDLE,
	CPU_NEWLY_IDLE,
	CPU_MAX_IDLE_TYPES
};

#endif /* _LINUX_SCHED_IDLE_H */