sched/fair, cpumask: Export for_each_cpu_wrap()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 14 Apr 2017 12:20:05 +0000 (14:20 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 15 May 2017 08:15:23 +0000 (10:15 +0200)
commitc743f0a5c50f2fcbc628526279cfa24f3dabe182
treef9f9f8c337e8e9a0366ee8e95032a21f19015c00
parent8c0334697dc37eb3d6d7632304d3a3662248daac
sched/fair, cpumask: Export for_each_cpu_wrap()

More users for for_each_cpu_wrap() have appeared. Promote the construct
to generic cpumask interface.

The implementation is slightly modified to reduce arguments.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Lauro Ramos Venancio <lvenanci@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: lwang@redhat.com
Link: http://lkml.kernel.org/r/20170414122005.o35me2h5nowqkxbv@hirez.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/cpumask.h
kernel/sched/fair.c
lib/cpumask.c