Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86572
b: refs/heads/master
c: d45ad06
h: refs/heads/master
v: v3
  • Loading branch information
Haavard Skinnemoen committed Feb 15, 2008
1 parent 68ce76f commit 90a2552
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: f059267e7fa9e3efa1498eb963ba18ec25665c42
refs/heads/master: d45ad06273f797f6239b97fd9962ecd81eec847f
3 changes: 3 additions & 0 deletions trunk/arch/avr32/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <linux/fs.h>
#include <linux/ptrace.h>
#include <linux/reboot.h>
#include <linux/tick.h>
#include <linux/uaccess.h>
#include <linux/unistd.h>

Expand All @@ -30,8 +31,10 @@ void cpu_idle(void)
{
/* endless idle loop with no priority at all */
while (1) {
tick_nohz_stop_sched_tick();
while (!need_resched())
cpu_idle_sleep();
tick_nohz_restart_sched_tick();
preempt_enable_no_resched();
schedule();
preempt_disable();
Expand Down

0 comments on commit 90a2552

Please sign in to comment.