Skip to content

Commit

Permalink
hexagon: use renamed tick_nohz_idle_* functions
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Kuo <[email protected]>
  • Loading branch information
Richard Kuo committed Apr 23, 2012
1 parent 6bbbc30 commit e8e42a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 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 e8e42a5

Please sign in to comment.