aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sysinfo.h
Commit message (Collapse)AuthorAgeFilesLines
* sysinfo: Use explicit types in <linux/sysinfo.h>H. Peter Anvin2012-02-201-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>
* sysinfo: Move struct sysinfo to a separate header fileH. Peter Anvin2012-02-201-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