Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351092
b: refs/heads/master
c: 28f1418
h: refs/heads/master
v: v3
  • Loading branch information
Len Brown committed Feb 18, 2013
1 parent 36e3064 commit 021b25f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dc883ca34a4e8a309d652c86daab6f1b4edd9d4b
refs/heads/master: 28f14185c818c3b6a02b4e0dc00d9aca100ce024
11 changes: 1 addition & 10 deletions trunk/arch/cris/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ void enable_hlt(void)

EXPORT_SYMBOL(enable_hlt);

/*
* The following aren't currently used.
*/
void (*pm_idle)(void);

extern void default_idle(void);

void (*pm_power_off)(void);
Expand All @@ -77,16 +72,12 @@ void cpu_idle (void)
while (1) {
rcu_idle_enter();
while (!need_resched()) {
void (*idle)(void);
/*
* Mark this as an RCU critical section so that
* synchronize_kernel() in the unload path waits
* for our completion.
*/
idle = pm_idle;
if (!idle)
idle = default_idle;
idle();
default_idle();
}
rcu_idle_exit();
schedule_preempt_disabled();
Expand Down

0 comments on commit 021b25f

Please sign in to comment.