diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-01 18:51:00 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-02 10:42:41 +0300 |
commit | b768917d2c08edc4b5616c86a569e524d190434b (patch) | |
tree | 24c6a99457c0c7ae6f625e16ea011938e9807e83 /include/linux/sched/idle.h | |
parent | a60b9eda67beac2318fa159545ba7d022f780736 (diff) | |
download | linux-b768917d2c08edc4b5616c86a569e524d190434b.tar.xz |
sched/headers: Move the 'cpu_idle_type' enum from <linux/sched.h> to <linux/sched/idle.h>
Acked-by: Linus 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: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/sched/idle.h')
-rw-r--r-- | include/linux/sched/idle.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/sched/idle.h b/include/linux/sched/idle.h index a3cf79b86986..6aabc9968cba 100644 --- a/include/linux/sched/idle.h +++ b/include/linux/sched/idle.h @@ -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 */ |