[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>
This commit is contained in:
parent
0d38b049fe
commit
a18546110e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user