]> git.baikalelectronics.ru Git - kernel.git/commit
sysinfo: Use explicit types in <linux/sysinfo.h>
authorH. Peter Anvin <hpa@zytor.com>
Fri, 10 Feb 2012 21:58:56 +0000 (13:58 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 20 Feb 2012 20:48:47 +0000 (12:48 -0800)
commit61dc075774695526c23988cbc8bc3335077fee81
tree65539852739a351f546ab69f3ca1d9414d9c420c
parent1093844d54a34483ff0821e6d9cc4f8ef6e20024
sysinfo: Use explicit types in <linux/sysinfo.h>

Change <linux/sysinfo.h> to use explicitly sized types.  Replace
long/unsigned long with __kernel_[u]long_t so that a non-legacy 32-bit
ABI running on a 64-bit kernel can export those as 64-bit types.

Originally-by: H. J. Lu <hjl.tools@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
include/linux/sysinfo.h