Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323563
b: refs/heads/master
c: 5b0753a
h: refs/heads/master
i:
  323561: b65b58c
  323559: 6b17245
v: v3
  • Loading branch information
Frederic Weisbecker authored and Paul E. McKenney committed Sep 23, 2012
1 parent 8043206 commit 47267ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5b57ba37e82a15f345a6a2eb8c01a2b2d94c5eeb
refs/heads/master: 5b0753a90b7a98bc613c3767e9263a1a76d4f900
3 changes: 3 additions & 0 deletions trunk/arch/mn10300/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <linux/err.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/rcupdate.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/io.h>
Expand Down Expand Up @@ -107,6 +108,7 @@ void cpu_idle(void)
{
/* endless idle loop with no priority at all */
for (;;) {
rcu_idle_enter();
while (!need_resched()) {
void (*idle)(void);

Expand All @@ -121,6 +123,7 @@ void cpu_idle(void)
}
idle();
}
rcu_idle_exit();

schedule_preempt_disabled();
}
Expand Down

0 comments on commit 47267ad

Please sign in to comment.