aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sysinfo.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-02-20sysinfo: Use explicit types in <linux/sysinfo.h>H. Peter Anvin1-14/+16
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>
2012-02-20sysinfo: Move struct sysinfo to a separate header fileH. Peter Anvin1-0/+22
struct sysinfo is just about the only thing exported to userspace from <linux/kernel.h>, so move it into a separate header file with a residual #include in <linux/kernel.h>. Originally-by: H. J. Lu <hjl.tools@gmail.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com> Link: http://lkml.kernel.org/n/tip-4pr1xnnksprt7t0h3w5fw4rv@git.kernel.org