x32: fix sysinfo()

the kernel uses long longs in the struct, but the documentation
says they're long. so we need to fixup the mismatch between the
userspace and kernelspace structs.
since the struct offers a mem_unit member, we can avoid truncation
by adjusting that value.
This commit is contained in:
rofl0r
2014-03-06 00:26:03 +01:00
parent abdd2e48df
commit dae8ca738c
2 changed files with 52 additions and 0 deletions

5
src/linux/x32/sysinfo.s Normal file
View File

@ -0,0 +1,5 @@
.text
.global sysinfo
.type sysinfo,@function
sysinfo:
jmp __x32_sysinfo