[PATCH 0/4] Allow cpuidle governors to be compiled as modules

From: Maulik Shah
Date: Thu Nov 25 2021 - 03:57:17 EST


This series makes changes to allow cpuidle governors menu, ladder and teo
to compiled as modules when building with allmodconfig.

Patch 3 of the series is taken from [1] which brings back the change
removed in Commit 83788c0caed3 ("cpuidle: remove unused exports").

[1] https://lore.kernel.org/all/010101746fc98add-45e77496-d2d6-4bc1-a1ce-0692599a9a7a-000000@xxxxxxxxxxxxxxxxxxxxxxx/

Lina Iyer (1):
cpuidle: governor: export cpuidle governor functions

Maulik Shah (3):
tick/sched: Export symbols used by cpuidle governors
sched/core: Export symbols used by cpuidle governors
cpuidle: governors: Allow the governors to be compiled as modules

drivers/cpuidle/Kconfig | 6 +++---
drivers/cpuidle/governor.c | 2 ++
drivers/cpuidle/governors/ladder.c | 4 ++++
drivers/cpuidle/governors/menu.c | 4 ++++
drivers/cpuidle/governors/teo.c | 4 ++++
kernel/sched/core.c | 1 +
kernel/time/tick-sched.c | 5 +++++
7 files changed, 23 insertions(+), 3 deletions(-)

--
2.7.4