patch-2.4.4 linux/fs/proc/proc_misc.c
Next file: linux/fs/qnx4/inode.c
Previous file: linux/fs/proc/inode.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Fri Apr 13 20:26:07 2001
- Orig file:
v2.4.3/linux/fs/proc/proc_misc.c
- Orig date:
Fri Mar 23 11:45:28 2001
diff -u --recursive --new-file v2.4.3/linux/fs/proc/proc_misc.c linux/fs/proc/proc_misc.c
@@ -274,8 +274,10 @@
user += kstat.per_cpu_user[cpu];
nice += kstat.per_cpu_nice[cpu];
system += kstat.per_cpu_system[cpu];
+#if !defined(CONFIG_ARCH_S390)
for (j = 0 ; j < NR_IRQS ; j++)
sum += kstat.irqs[cpu][j];
+#endif
}
len = sprintf(page, "cpu %u %u %u %lu\n", user, nice, system,
@@ -299,8 +301,10 @@
kstat.pswpout,
sum
);
+#if !defined(CONFIG_ARCH_S390)
for (i = 0 ; i < NR_IRQS ; i++)
len += sprintf(page + len, " %u", kstat_irqs(i));
+#endif
len += sprintf(page + len, "\ndisk_io: ");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)