From: schwab@suse.de Date: Fri, 3 Feb 2006 11:04:24 +0000 (-0800) Subject: [PATCH] disable per cpu intr in /proc/stat X-Git-Tag: MMI-PSA29.97-13-9~52308 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a18546110ed6bec483d55bfffccb2487dfbd77af;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] disable per cpu intr in /proc/stat Don't compute and display the per-irq sums on ia64 either, too much overhead for mostly useless figures. Cc: Olaf Hering Acked-by: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c index 8f8014285a34..1d24fead51a6 100644 --- a/fs/proc/proc_misc.c +++ b/fs/proc/proc_misc.c @@ -548,7 +548,7 @@ static int show_stat(struct seq_file *p, void *v) } seq_printf(p, "intr %llu", (unsigned long long)sum); -#if !defined(CONFIG_PPC64) && !defined(CONFIG_ALPHA) +#if !defined(CONFIG_PPC64) && !defined(CONFIG_ALPHA) && !defined(CONFIG_IA64) for (i = 0; i < NR_IRQS; i++) seq_printf(p, " %u", kstat_irqs(i)); #endif