1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_KERNEL_H
13 #define _LINUX_KERNEL_H
15 #define SI_LOAD_SHIFT 16
18 unsigned long loads[3];
19 unsigned long totalram;
20 unsigned long freeram;
21 unsigned long sharedram;
22 unsigned long bufferram;
23 unsigned long totalswap;
24 unsigned long freeswap;
27 unsigned long totalhigh;
28 unsigned long freehigh;
29 unsigned int mem_unit;
30 char _f[20-2*sizeof(long)-sizeof(int)];
33 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
35 #define BUILD_BUG_ON_ZERO(e) (sizeof(char[1 - 2 * !!(e)]) - 1)
37 #define __FUNCTION__ (__func__)