x32: fix sysinfo()
authorrofl0r <retnyg@gmx.net>
Wed, 5 Mar 2014 23:26:03 +0000 (00:26 +0100)
committerrofl0r <retnyg@gmx.net>
Thu, 6 Mar 2014 04:35:13 +0000 (05:35 +0100)
commitdae8ca738c37c7ca619f575de7a88823db17976a
treee0765125f28da929f657c0b89f3df9b89e3a8c9a
parentabdd2e48df01511603cae570695a7a3d78190e7e
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.
arch/x32/src/sysinfo.c [new file with mode: 0644]
src/linux/x32/sysinfo.s [new file with mode: 0644]