diff options
author | Geliang Tang <geliangtang@163.com> | 2015-11-15 18:18:40 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-11-23 09:48:17 +0100 |
commit | 01783e0d452736d7deff1b920c5eccad67adc428 (patch) | |
tree | 95a498910a1f9d1141f2a40b4edd5bde1993f6d7 /kernel/stop_machine.c | |
parent | 3ea94de15ce9f3a217f6d0a7e9e0f48388902bb7 (diff) |
sched/core: Use list_is_singular() in sched_can_stop_tick()
Use list_is_singular() to check if run_list has only one entry.
Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/a5453fafd735affcf28e53a1d0a3d6965cb5dbb5.1447582547.git.geliangtang@163.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions