Add padding to struct sysinfo needed by m68k (note and patch by Richard

Hirst).
This commit is contained in:
Matt Kraai 2001-06-08 13:57:27 +00:00
parent 04407e522b
commit 5246225596
2 changed files with 2 additions and 0 deletions

View File

@ -190,6 +190,7 @@ struct sysinfo {
unsigned long totalswap; /* Total swap space size */
unsigned long freeswap; /* swap space still available */
unsigned short procs; /* Number of current processes */
unsigned short pad; /* Padding needed for m68k */
unsigned long totalhigh; /* Total high memory size */
unsigned long freehigh; /* Available high memory size */
unsigned int mem_unit; /* Memory unit size in bytes */

View File

@ -190,6 +190,7 @@ struct sysinfo {
unsigned long totalswap; /* Total swap space size */
unsigned long freeswap; /* swap space still available */
unsigned short procs; /* Number of current processes */
unsigned short pad; /* Padding needed for m68k */
unsigned long totalhigh; /* Total high memory size */
unsigned long freehigh; /* Available high memory size */
unsigned int mem_unit; /* Memory unit size in bytes */