]> err.no Git - linux-2.6/blobdiff - fs/proc/proc_misc.c
[NETNS]: Move some code into __init section when CONFIG_NET_NS=n
[linux-2.6] / fs / proc / proc_misc.c
index f133afebed7aca1c7ece0a2ddebc234fb1fcff2d..bee251cb87c8c42c3d051ec2ea53df209e422c52 100644 (file)
@@ -507,7 +507,8 @@ 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) && !defined(CONFIG_IA64)
+#ifndef CONFIG_SMP
+       /* Touches too many cache lines on SMP setups */
        for (i = 0; i < NR_IRQS; i++)
                seq_printf(p, " %u", per_irq_sum[i]);
 #endif