Re: [PATCH] x86: hardirq: introduce inc_irq_stat()

From: Ingo Molnar
Date: Fri Dec 12 2008 - 06:05:37 EST



* Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx> wrote:

> From: Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx>
>
> Impact: cleanup
>
> Introduce inc_irq_stat() macro and unify irq_stat accounting code.
>
> Signed-off-by: Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/