Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204641
b: refs/heads/master
c: d0f140e
h: refs/heads/master
i:
  204639: 81d17d6
v: v3
  • Loading branch information
Michal Simek committed Aug 4, 2010
1 parent d97ec1a commit e211166
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 6f34b08f58f5097bb408e188e09cda75e61ee513
refs/heads/master: d0f140e03e38dc553a0bb61611c15fcede671f23
7 changes: 5 additions & 2 deletions trunk/arch/microblaze/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,11 @@ __setup("hlt", hlt_setup);
void default_idle(void)
{
if (likely(hlt_counter)) {
while (!need_resched())
cpu_relax();
local_irq_disable();
stop_critical_timings();
cpu_relax();
start_critical_timings();
local_irq_enable();
} else {
clear_thread_flag(TIF_POLLING_NRFLAG);
smp_mb__after_clear_bit();
Expand Down

0 comments on commit e211166

Please sign in to comment.