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)
commitb02a4fd8148f655095d9e3d6eddd8f0042bcc27c
treedd76c71cf5ce05079030ff9a3ae80ffb9b5d9486
parent5e0ccd4a3b01c5a71732a13186ca110a138516ea
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