diff options
| author | Ingo Molnar <mingo@kernel.org> | 2012-05-21 09:17:31 +0200 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2012-05-21 09:17:50 +0200 |
| commit | bb27f55eb9405257a59c82550dbb0d684cc3a665 (patch) | |
| tree | bdab5866709e6ac7eeef7493d7d73bbd3d6231b6 /arch/hexagon/kernel/process.c | |
| parent | ftrace: Remove selecting FRAME_POINTER with FUNCTION_TRACER (diff) | |
| parent | perf evsel: Create events initially disabled -- again (diff) | |
| download | linux-bb27f55eb9405257a59c82550dbb0d684cc3a665.tar.gz linux-bb27f55eb9405257a59c82550dbb0d684cc3a665.zip | |
Merge branch 'perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Fixes for perf/core:
- Rename some perf_target methods to avoid double negation, from Namhyung Kim.
- Revert change to use per task events with inheritance, from Namhyung Kim.
- Events should start disabled till children starts running, from David Ahern.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/hexagon/kernel/process.c')
| -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(); } } |
