[uClibc-cvs] uClibc/include/sys sysinfo.h,1.4,1.5

Erik Andersen andersen at uclibc.org
Wed Oct 22 09:16:03 UTC 2003


Update of /var/cvs/uClibc/include/sys
In directory winder:/tmp/cvs-serv9883/include/sys

Modified Files:
	sysinfo.h 
Log Message:
It seems we need to also define SI_LOAD_SHIFT since that was
also exported by the Linux kernel.h header that we do not include.


Index: sysinfo.h
===================================================================
RCS file: /var/cvs/uClibc/include/sys/sysinfo.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- sysinfo.h	27 Jul 2002 08:31:42 -0000	1.4
+++ sysinfo.h	22 Oct 2003 09:15:57 -0000	1.5
@@ -24,6 +24,7 @@
 #ifndef _LINUX_KERNEL_H
 /* Include our own copy of struct sysinfo to avoid binary compatability
  * problems with Linux 2.4, which changed things.  Grumble, grumble. */
+#define SI_LOAD_SHIFT	16
 struct sysinfo {
 	long uptime;			/* Seconds since boot */
 	unsigned long loads[3];		/* 1, 5, and 15 minute load averages */




More information about the uClibc-cvs mailing list