diff mbox series

[2/3] x86/sched/itmt: Export two API symbols

Message ID 20231228075705.26652-3-TonyWWang-oc@zhaoxin.com
State New
Headers show
Series Add Zhaoxin preferred core support in acpi-cpufreq | expand

Commit Message

Tony W Wang-oc Dec. 28, 2023, 7:57 a.m. UTC
Mark two API symbols to be exported to kernel loadable GPL modules,
namely:
sched_set_itmt_support;
sched_set_itmt_core_prio;

Signed-off-by: Tony W Wang-oc <TonyWWang-oc@zhaoxin.com>
---
 arch/x86/kernel/itmt.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/arch/x86/kernel/itmt.c b/arch/x86/kernel/itmt.c
index 9a7c03d47861..96c74fa8ea9c 100644
--- a/arch/x86/kernel/itmt.c
+++ b/arch/x86/kernel/itmt.c
@@ -121,6 +121,7 @@  int sched_set_itmt_support(void)
 
 	return 0;
 }
+EXPORT_SYMBOL_GPL(sched_set_itmt_support);
 
 /**
  * sched_clear_itmt_support() - Revoke platform's support of ITMT
@@ -180,3 +181,4 @@  void sched_set_itmt_core_prio(int prio, int cpu)
 {
 	per_cpu(sched_core_priority, cpu) = prio;
 }
+EXPORT_SYMBOL_GPL(sched_set_itmt_core_prio);