Skip to content

Commit a7d380d

Browse files
committed
revert 9072b9a ("lkl: expose cpu_idle_loop from idle.c")
cpu_idle_loop() is unneeded to be exposed since the lkl will switch to the idle_host_task when idle, and the hack for cpu_idle_loop() is unneeded. Signed-off-by: Lai Jiangshan <[email protected]>
1 parent 2545621 commit a7d380d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

kernel/sched/idle.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ static void cpuidle_idle_call(void)
205205
*
206206
* Called with polling cleared.
207207
*/
208-
void do_idle(void)
208+
static void do_idle(void)
209209
{
210210
/*
211211
* If the arch has a polling bit, we maintain an invariant:
@@ -265,7 +265,6 @@ void do_idle(void)
265265
sched_ttwu_pending();
266266
schedule_preempt_disabled();
267267
}
268-
EXPORT_SYMBOL(do_idle);
269268

270269
bool cpu_in_idle(unsigned long pc)
271270
{

0 commit comments

Comments
 (0)