Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323559
b: refs/heads/master
c: 41d8fe5
h: refs/heads/master
i:
  323557: af18d32
  323555: febe797
  323551: 0b6670a
v: v3
  • Loading branch information
Frederic Weisbecker authored and Paul E. McKenney committed Sep 23, 2012
1 parent 55cdb73 commit 6b17245
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: c633f9e788928e91ad11f44df29b47bbbe9550b0
refs/heads/master: 41d8fe5bb3cf91ce2716ac8f43e4b40d802a99c8
3 changes: 3 additions & 0 deletions trunk/arch/frv/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <linux/reboot.h>
#include <linux/interrupt.h>
#include <linux/pagemap.h>
#include <linux/rcupdate.h>

#include <asm/asm-offsets.h>
#include <asm/uaccess.h>
Expand Down Expand Up @@ -69,12 +70,14 @@ void cpu_idle(void)
{
/* endless idle loop with no priority at all */
while (1) {
rcu_idle_enter();
while (!need_resched()) {
check_pgt_cache();

if (!frv_dma_inprogress && idle)
idle();
}
rcu_idle_exit();

schedule_preempt_disabled();
}
Expand Down

0 comments on commit 6b17245

Please sign in to comment.