diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-02-21 10:15:31 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-23 00:26:50 +0100 |
commit | c192b196d0f3a239f9f056d02a983c48cdf128d9 (patch) | |
tree | 0876cfe6d57c85d2dcc5a22150e15adf07d3db17 /arch/microblaze | |
parent | eba87ef89f7e669062a14d6008e40a8b8f777e74 (diff) | |
download | linux-stable-c192b196d0f3a239f9f056d02a983c48cdf128d9.tar.gz linux-stable-c192b196d0f3a239f9f056d02a983c48cdf128d9.tar.bz2 linux-stable-c192b196d0f3a239f9f056d02a983c48cdf128d9.zip |
microblaze idle: Fix compile error
Commit def8203 ("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: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Len Brown <len.brown@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/kernel/process.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/microblaze/kernel/process.c b/arch/microblaze/kernel/process.c index 6ff2dcff3410..08f87343f8d0 100644 --- a/arch/microblaze/kernel/process.c +++ b/arch/microblaze/kernel/process.c @@ -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(); |