]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched_ext: Make scx_kf_allowed_if_unlocked() available outside ext.c
authorAndrea Righi <arighi@nvidia.com>
Thu, 15 May 2025 19:11:42 +0000 (21:11 +0200)
committerTejun Heo <tj@kernel.org>
Tue, 20 May 2025 20:23:50 +0000 (10:23 -1000)
commit617a77018f683905ed4e8cd693df51243908353f
tree13c684e2f7e8865514b3da43d3887a10a2b62036
parent3a453297582f066f1fc8acc287c7633b21bb12cc
sched_ext: Make scx_kf_allowed_if_unlocked() available outside ext.c

Relocate the scx_kf_allowed_if_unlocked(), so it can be used from other
source files (e.g., ext_idle.c).

No functional change.

Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c
kernel/sched/ext.h