From: Kevin Hilman <khilman@mvista.com>
To: Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>
Cc: linux-omap-open-source@linux.omap.com,
linux-arm-kernel@lists.arm.linux.org.uk
Subject: [patch 2.6.20-rc6-rt6 2/6] ARM NO_HZ idle loop fixup
Date: Wed, 31 Jan 2007 16:13:02 -0800 [thread overview]
Message-ID: <20070201001316.305795000@mvista.com> (raw)
In-Reply-To: 20070201001300.820659000@mvista.com
[-- Attachment #1: arm-nohz-idle.patch --]
[-- Type: text/plain, Size: 805 bytes --]
Index: linux-2.6/arch/arm/kernel/process.c
===================================================================
--- linux-2.6.orig/arch/arm/kernel/process.c
+++ linux-2.6/arch/arm/kernel/process.c
@@ -28,6 +28,7 @@
#include <linux/cpu.h>
#include <linux/elfcore.h>
#include <linux/pm.h>
+#include <linux/tick.h>
#include <asm/leds.h>
#include <asm/processor.h>
@@ -154,12 +155,12 @@ void cpu_idle(void)
if (!idle)
idle = default_idle;
leds_event(led_idle_start);
- hrtimer_stop_sched_tick();
+ tick_nohz_stop_sched_tick();
while (!need_resched() && !need_resched_delayed())
idle();
leds_event(led_idle_end);
- hrtimer_restart_sched_tick();
local_irq_disable();
+ tick_nohz_restart_sched_tick();
__preempt_enable_no_resched();
__schedule();
preempt_disable();
--
next prev parent reply other threads:[~2007-02-01 0:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-01 0:13 [patch 2.6.20-rc6-rt6 0/6] ARM clockevent patches Kevin Hilman
2007-02-01 0:13 ` [patch 2.6.20-rc6-rt6 1/6] ARM build fixups Kevin Hilman
2007-02-01 0:13 ` Kevin Hilman [this message]
2007-02-01 0:13 ` [patch 2.6.20-rc6-rt6 3/6] ARM Kconfig support for GENERIC_CLOCKEVENTS Kevin Hilman
2007-02-01 0:13 ` [patch 2.6.20-rc6-rt6 4/6] ARM: LEDS_TIMER hackery for clockevents Kevin Hilman
2007-02-01 0:13 ` [patch 2.6.20-rc6-rt6 5/6] ARM: clockevent support for ixp4xx platform Kevin Hilman
2007-02-01 0:13 ` [patch 2.6.20-rc6-rt6 6/6] ARM: clockevent support for OMAP1 platform Kevin Hilman
2007-02-01 8:29 ` [patch 2.6.20-rc6-rt6 0/6] ARM clockevent patches Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070201001316.305795000@mvista.com \
--to=khilman@mvista.com \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-omap-open-source@linux.omap.com \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox