aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-02-21 04:56:43 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-02-22 18:26:41 -0500
commiteba87ef89f7e669062a14d6008e40a8b8f777e74 (patch)
tree482ec4c65b600d2a69c926d3987a2df1fe429bb7 /arch/blackfin
parent10baf04e95fbf7eb6089410220a547211dd2ffa7 (diff)
blackfin idle: Fix compile error
Commit 26bab0c ("blackfin idle: delete pm_idle") introduced the following compile error: arch/blackfin/kernel/process.c: In function ‘cpu_idle’: arch/blackfin/kernel/process.c:83: error: ‘idle’ undeclared (first use in this function) arch/blackfin/kernel/process.c:83: error: (Each undeclared identifier is reported only once arch/blackfin/kernel/process.c:83: error: for each function it appears in.) arch/blackfin/kernel/process.c:88: 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/blackfin')
-rw-r--r--arch/blackfin/kernel/process.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/blackfin/kernel/process.c b/arch/blackfin/kernel/process.c
index 8061426b7df5..9782c0329c14 100644
--- a/arch/blackfin/kernel/process.c
+++ b/arch/blackfin/kernel/process.c
@@ -80,12 +80,10 @@ void cpu_idle(void)
80 if (cpu_is_offline(smp_processor_id())) 80 if (cpu_is_offline(smp_processor_id()))
81 cpu_die(); 81 cpu_die();
82#endif 82#endif
83 if (!idle)
84 idle = default_idle;
85 tick_nohz_idle_enter(); 83 tick_nohz_idle_enter();
86 rcu_idle_enter(); 84 rcu_idle_enter();
87 while (!need_resched()) 85 while (!need_resched())
88 idle(); 86 default_idle();
89 rcu_idle_exit(); 87 rcu_idle_exit();
90 tick_nohz_idle_exit(); 88 tick_nohz_idle_exit();
91 preempt_enable_no_resched(); 89 preempt_enable_no_resched();