| Commit message (Expand) | Author | Age | Files | Lines |
| * | move x32 sysinfo impl and syscall fixup code out of arch/x32/src•••all such arch-specific translation units are being moved to
appropriate arch dirs under the main src tree.
| Rich Felker | 2016-01-22 | 2 | -1/+50 |
| * | add namespace-protected name for sysinfo function•••it will be needed to implement some things in sysconf, and the syscall
can't easily be used directly because the x32 syscall uses the wrong
structure layout. the l (uncreative, for "linux") prefix is used since
the symbol name __sysinfo is already taken for AT_SYSINFO from the aux
vector.
the way the x32 override of this function works is also changed to be
simpler and avoid the useless jump instruction.
| Rich Felker | 2014-04-15 | 1 | -5/+1 |
| * | 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.
| rofl0r | 2014-03-06 | 1 | -0/+5 |