patch-2.4.25 linux-2.4.25/arch/s390x/kernel/linux32.c
Next file: linux-2.4.25/arch/s390x/kernel/process.c
Previous file: linux-2.4.25/arch/s390x/kernel/head.S
Back to the patch index
Back to the overall index
-  Lines: 31
-  Date:
2004-02-18 05:36:30.000000000 -0800
-  Orig file: 
linux-2.4.24/arch/s390x/kernel/linux32.c
-  Orig date: 
2003-08-25 04:44:40.000000000 -0700
diff -urN linux-2.4.24/arch/s390x/kernel/linux32.c linux-2.4.25/arch/s390x/kernel/linux32.c
@@ -39,6 +39,7 @@
 #include <linux/smb_mount.h>
 #include <linux/ncp_fs.h>
 #include <linux/quota.h>
+#include <linux/quotacompat.h>
 #include <linux/module.h>
 #include <linux/sunrpc/svc.h>
 #include <linux/nfsd/nfsd.h>
@@ -1873,7 +1874,11 @@
         u32 totalswap;
         u32 freeswap;
         unsigned short procs;
-        char _f[22];
+	unsigned short pad;
+	u32 totalhigh;
+	u32 freehigh;
+	unsigned int mem_unit;
+        char _f[8];
 };
 
 extern asmlinkage int sys_sysinfo(struct sysinfo *info);
@@ -1898,6 +1903,9 @@
 	err |= __put_user (s.totalswap, &info->totalswap);
 	err |= __put_user (s.freeswap, &info->freeswap);
 	err |= __put_user (s.procs, &info->procs);
+	err |= __put_user (s.totalhigh, &info->totalhigh);
+	err |= __put_user (s.freehigh, &info->freehigh);
+	err |= __put_user (s.mem_unit, &info->mem_unit);
 	if (err)
 		return -EFAULT;
 	return ret;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)