mirror of
https://github.com/fluencelabs/musl
synced 2025-07-02 16:12:02 +00:00
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:
5
src/linux/x32/sysinfo.s
Normal file
5
src/linux/x32/sysinfo.s
Normal file
@ -0,0 +1,5 @@
|
||||
.text
|
||||
.global sysinfo
|
||||
.type sysinfo,@function
|
||||
sysinfo:
|
||||
jmp __x32_sysinfo
|
Reference in New Issue
Block a user