From: David Brownell <david-b@pacbell.net>
To: lkml <linux-kernel@vger.kernel.org>
Subject: [patch 2.6.27-rc6] x86_64 minor HPET tweakage
Date: Fri, 12 Sep 2008 10:18:04 -0700 [thread overview]
Message-ID: <200809121018.04427.david-b@pacbell.net> (raw)
From: David Brownell <dbrownell@users.sourceforge.net>
Minor HPET tweakage on x86_64: Label the /proc/interrupts entry
as "hpet" or "pit", matching the device and its clockevent name
in /proc/timer_list.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
---
arch/x86/kernel/time_64.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
--- a/arch/x86/kernel/time_64.c
+++ b/arch/x86/kernel/time_64.c
@@ -103,13 +103,15 @@ static struct irqaction irq0 = {
.handler = timer_event_interrupt,
.flags = IRQF_DISABLED | IRQF_IRQPOLL | IRQF_NOBALANCING,
.mask = CPU_MASK_NONE,
- .name = "timer"
+ .name = "hpet"
};
void __init hpet_time_init(void)
{
- if (!hpet_enable())
+ if (!hpet_enable()) {
+ irq0.name = "pit";
setup_pit_timer();
+ }
setup_irq(0, &irq0);
}
next reply other threads:[~2008-09-12 17:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-12 17:18 David Brownell [this message]
2008-09-14 14:37 ` [patch 2.6.27-rc6] x86_64 minor HPET tweakage 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=200809121018.04427.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=linux-kernel@vger.kernel.org \
/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