Add padding to struct sysinfo needed by m68k (note and patch by Richard
Hirst).
This commit is contained in:
parent
04407e522b
commit
5246225596
@ -190,6 +190,7 @@ struct sysinfo {
|
|||||||
unsigned long totalswap; /* Total swap space size */
|
unsigned long totalswap; /* Total swap space size */
|
||||||
unsigned long freeswap; /* swap space still available */
|
unsigned long freeswap; /* swap space still available */
|
||||||
unsigned short procs; /* Number of current processes */
|
unsigned short procs; /* Number of current processes */
|
||||||
|
unsigned short pad; /* Padding needed for m68k */
|
||||||
unsigned long totalhigh; /* Total high memory size */
|
unsigned long totalhigh; /* Total high memory size */
|
||||||
unsigned long freehigh; /* Available high memory size */
|
unsigned long freehigh; /* Available high memory size */
|
||||||
unsigned int mem_unit; /* Memory unit size in bytes */
|
unsigned int mem_unit; /* Memory unit size in bytes */
|
||||||
|
@ -190,6 +190,7 @@ struct sysinfo {
|
|||||||
unsigned long totalswap; /* Total swap space size */
|
unsigned long totalswap; /* Total swap space size */
|
||||||
unsigned long freeswap; /* swap space still available */
|
unsigned long freeswap; /* swap space still available */
|
||||||
unsigned short procs; /* Number of current processes */
|
unsigned short procs; /* Number of current processes */
|
||||||
|
unsigned short pad; /* Padding needed for m68k */
|
||||||
unsigned long totalhigh; /* Total high memory size */
|
unsigned long totalhigh; /* Total high memory size */
|
||||||
unsigned long freehigh; /* Available high memory size */
|
unsigned long freehigh; /* Available high memory size */
|
||||||
unsigned int mem_unit; /* Memory unit size in bytes */
|
unsigned int mem_unit; /* Memory unit size in bytes */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user