diff options
author | Richard Kuo <rkuo@codeaurora.org> | 2012-03-07 15:27:23 -0600 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2012-04-30 17:57:31 +0530 |
commit | b671062a72cdbec7d7b1b20e9ca25fc6c7c8a354 (patch) | |
tree | 3ec46635689879ad402a9d966b300d668030e55a /arch/hexagon/kernel | |
parent | e419451ba48b0fa76db13a3c92fb4c861da8e1eb (diff) |
hexagon: use renamed tick_nohz_idle_* functions
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon/kernel')
-rw-r--r-- | arch/hexagon/kernel/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/hexagon/kernel/process.c b/arch/hexagon/kernel/process.c index 18c4f0b0f4ba..ff02821bfb7e 100644 --- a/arch/hexagon/kernel/process.c +++ b/arch/hexagon/kernel/process.c @@ -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 @@ -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(); @@ -97,7 +97,7 @@ void cpu_idle(void) local_irq_disable(); } local_irq_enable(); - tick_nohz_restart_sched_tick(); + tick_nohz_idle_exit(); schedule(); } } |