Browse Source

[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>
schwab@suse.de 19 years ago
parent
commit
a18546110e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/proc/proc_misc.c

+ 1 - 1
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);
 	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++)
 	for (i = 0; i < NR_IRQS; i++)
 		seq_printf(p, " %u", kstat_irqs(i));
 		seq_printf(p, " %u", kstat_irqs(i));
 #endif
 #endif