Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299604
b: refs/heads/master
c: e8e42a5
h: refs/heads/master
v: v3
  • Loading branch information
Richard Kuo committed Apr 23, 2012
1 parent 12ee06d commit dc191ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 6bbbc30ce6b0ae428575c8af7c2a6c342c534e19
refs/heads/master: e8e42a5cff0704e83151455307a9b0d78fb43b93
6 changes: 3 additions & 3 deletions trunk/arch/hexagon/kernel/process.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Process creation support for Hexagon
*
* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
* Copyright (c) 2010-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
Expand Down Expand Up @@ -88,7 +88,7 @@ void (*idle_sleep)(void) = default_idle;
void cpu_idle(void)
{
while (1) {
tick_nohz_stop_sched_tick(1);
tick_nohz_idle_enter();
local_irq_disable();
while (!need_resched()) {
idle_sleep();
Expand All @@ -97,7 +97,7 @@ void cpu_idle(void)
local_irq_disable();
}
local_irq_enable();
tick_nohz_restart_sched_tick();
tick_nohz_idle_exit();
schedule();
}
}
Expand Down

0 comments on commit dc191ba

Please sign in to comment.