summaryrefslogtreecommitdiffstats
path: root/fs/proc
diff options
context:
space:
mode:
authorschwab@suse.de <schwab@suse.de>2006-02-03 03:04:24 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-03 08:32:07 -0800
commita18546110ed6bec483d55bfffccb2487dfbd77af (patch)
tree7363fe19d01ac7fd7c8de7cbee874999c78ab232 /fs/proc
parent0d38b049fe8df77c8e9dc48d0fd84555739fbb1a (diff)
downloadop-kernel-dev-a18546110ed6bec483d55bfffccb2487dfbd77af.zip
op-kernel-dev-a18546110ed6bec483d55bfffccb2487dfbd77af.tar.gz
[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 <olh@suse.de> Acked-by: "Luck, Tony" <tony.luck@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/proc')
-rw-r--r--fs/proc/proc_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c
index 8f80142..1d24fea 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
OpenPOWER on IntegriCloud