]> git.baikalelectronics.ru Git - kernel.git/commit
cpumask: Make cpu_{online,possible,present,active}() inline
authorPeter Zijlstra <peterz@infradead.org>
Mon, 25 Jan 2021 15:46:49 +0000 (16:46 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 16 Apr 2021 15:06:32 +0000 (17:06 +0200)
commiteb0e59408a8eab8ad81cbef4d1d10a638b0f2bbb
treedd76c71cf5ce05079030ff9a3ae80ffb9b5d9486
parent378aab47beff929c018602a51f55d6fd9ec7ccfc
cpumask: Make cpu_{online,possible,present,active}() inline

Prepare for addition of another mask. Primarily a code movement to
avoid having to create more #ifdef, but while there, convert
everything with an argument to an inline function.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <valentin.schneider@arm.com>
Link: https://lkml.kernel.org/r/20210310150109.045447765@infradead.org
include/linux/cpumask.h