Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c192b196 authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Rafael J. Wysocki
Browse files

microblaze idle: Fix compile error



Commit def82035 ("microblaze idle: delete pm_idle") introduced the following
compile error:

	arch/microblaze/kernel/process.c: In function 'cpu_idle':
	arch/microblaze/kernel/process.c:100: error: 'idle' undeclared (first use in this function)
	arch/microblaze/kernel/process.c:100: error: (Each undeclared identifier is reported only once
	arch/microblaze/kernel/process.c:100: error: for each function it appears in.)
	arch/microblaze/kernel/process.c:106: error: implicit declaration of function 'idle'

This patch fixes it.

Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Acked-by: default avatarLen Brown <len.brown@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent eba87ef8
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -97,13 +97,10 @@ void cpu_idle(void)

	/* endless idle loop with no priority at all */
	while (1) {
		if (!idle)
			idle = default_idle;

		tick_nohz_idle_enter();
		rcu_idle_enter();
		while (!need_resched())
			idle();
			default_idle();
		rcu_idle_exit();
		tick_nohz_idle_exit();