From: Ingo Molnar <mingo@elte.hu>
To: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86: hardirq: introduce inc_irq_stat()
Date: Fri, 12 Dec 2008 12:05:19 +0100 [thread overview]
Message-ID: <20081212110519.GD32640@elte.hu> (raw)
In-Reply-To: <493DE3BE.9070202@ct.jp.nec.com>
* Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> wrote:
> From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
>
> Impact: cleanup
>
> Introduce inc_irq_stat() macro and unify irq_stat accounting code.
>
> Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
> ---
> arch/x86/include/asm/hardirq_32.h | 2 ++
> arch/x86/include/asm/hardirq_64.h | 2 ++
> arch/x86/kernel/apic.c | 13 +++----------
> arch/x86/kernel/cpu/perf_counter.c | 6 +-----
> arch/x86/kernel/smp.c | 18 +++---------------
> arch/x86/kernel/traps.c | 6 +-----
> 6 files changed, 12 insertions(+), 35 deletions(-)
applied to tip/x86/irq, thanks!
This is a very nice cleanup - those #ifdefs were very ugly.
Ingo
prev parent reply other threads:[~2008-12-12 11:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-09 3:19 [PATCH] x86: hardirq: introduce inc_irq_stat() Hiroshi Shimamoto
2008-12-12 11:05 ` Ingo Molnar [this message]
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=20081212110519.GD32640@elte.hu \
--to=mingo@elte.hu \
--cc=h-shimamoto@ct.jp.nec.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--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