ANDROID: Export the symbol of ext_sched_class

The function task_on_scx() that determines whether a task is an SCX task
depends on the symbol ext_sched_class. Some scheduling-related modules
also need to use task_on_scx() to determine which scheduling class a
task belongs to, so the symbol ext_sched_class need to be exported.

Bug: 417106548
Change-Id: I50ab7e47850f719c0d83dd4d0096843f294ff580
Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
Signed-off-by: Zhou Jian <quic_jianzhou@quicinc.com>
This commit is contained in:
Tengfei Fan
2025-05-22 17:40:50 +08:00
committed by Treehugger Robot
parent 0f41effe61
commit 53e8841d90

View File

@@ -4155,6 +4155,7 @@ DEFINE_SCHED_CLASS(ext) = {
.uclamp_enabled = 1,
#endif
};
EXPORT_SYMBOL_GPL(ext_sched_class);
static void init_dsq(struct scx_dispatch_q *dsq, u64 dsq_id)
{