+2
−11
+11
−0
Loading
scx_locked_rq() is used both from ext.c and ext_idle.c, move it to ext.h
as a static inline function.
No functional changes.
v2: Rename locked_rq to scx_locked_rq_state, expose it and make
scx_locked_rq() inline, as suggested by Tejun.
Signed-off-by:
Andrea Righi <arighi@nvidia.com>
Signed-off-by:
Tejun Heo <tj@kernel.org>