OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d2ae37
)
It seems we need to also define SI_LOAD_SHIFT since that was
author
Eric Andersen
<andersen@codepoet.org>
Wed, 22 Oct 2003 09:15:57 +0000
(09:15 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 22 Oct 2003 09:15:57 +0000
(09:15 -0000)
also exported by the Linux kernel.h header that we do not include.
include/sys/sysinfo.h
patch
|
blob
|
history
diff --git
a/include/sys/sysinfo.h
b/include/sys/sysinfo.h
index
169731e
..
9fd4fa8
100644
(file)
--- a/
include/sys/sysinfo.h
+++ b/
include/sys/sysinfo.h
@@
-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 */