PERFORCE change 108277 for review

Roman Divacky rdivacky at FreeBSD.org
Sun Oct 22 13:11:00 PDT 2006


http://perforce.freebsd.org/chv.cgi?CH=108277

Change 108277 by rdivacky at rdivacky_witten on 2006/10/22 20:10:15

	Sync struct sysinfo with recent linux version.

Affected files ...

.. //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#17 edit

Differences ...

==== //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#17 (text+ko) ====

@@ -114,10 +114,11 @@
 	l_ulong		totalswap;	/* Total swap space size */
 	l_ulong		freeswap;	/* swap space still available */
 	l_ushort	procs;		/* Number of current processes */
+	l_ushort	pads;
 	l_ulong		totalbig;
 	l_ulong		freebig;
 	l_uint		mem_unit;
-	char		_f[6];		/* Pads structure to 64 bytes */
+	char		_f[20-2*sizeof(l_long)-sizeof(l_int)];		/* Pads structure */
 };
 int
 linux_sysinfo(struct thread *td, struct linux_sysinfo_args *args)


More information about the p4-projects mailing list