Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323565
b: refs/heads/master
c: 0ee23fd
h: refs/heads/master
i:
  323563: 47267ad
v: v3
  • Loading branch information
Frederic Weisbecker authored and Paul E. McKenney committed Sep 23, 2012
1 parent 09fb469 commit 37b8be3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: fbe752188d5589e7fcbb8e79824e560f77dccc92
refs/heads/master: 0ee23fda59740767324b4340247ca41a2f498ca6
4 changes: 3 additions & 1 deletion trunk/arch/score/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <linux/reboot.h>
#include <linux/elfcore.h>
#include <linux/pm.h>
#include <linux/rcupdate.h>

void (*pm_power_off)(void);
EXPORT_SYMBOL(pm_power_off);
Expand All @@ -50,9 +51,10 @@ void __noreturn cpu_idle(void)
{
/* endless idle loop with no priority at all */
while (1) {
rcu_idle_enter();
while (!need_resched())
barrier();

rcu_idle_exit();
schedule_preempt_disabled();
}
}
Expand Down

0 comments on commit 37b8be3

Please sign in to comment.