diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-07-11 15:32:10 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-07-11 15:32:23 -0700 |
commit | cf1ad5b3add36790cbf58a3972c492a8f1632929 (patch) | |
tree | 941623f93e951e3ad7ee23b6becef195c68f1750 /sysdeps/unix/s-proto-cancel.S | |
parent | c10f90dcef42092a96007fed7e77f9d470e5bb76 (diff) | |
download | glibc-cf1ad5b3add36790cbf58a3972c492a8f1632929.tar.gz glibc-cf1ad5b3add36790cbf58a3972c492a8f1632929.tar.xz glibc-cf1ad5b3add36790cbf58a3972c492a8f1632929.zip |
X86-64: Define LO_HI_LONG to skip pos_h [BZ #20349]
Define LO_HI_LONG to skip pos_h since it is ignored by kernel: static inline loff_t pos_from_hilo(unsigned long high, unsigned long low) { #define HALF_LONG_BITS (BITS_PER_LONG / 2) return (((loff_t)high << HALF_LONG_BITS) << HALF_LONG_BITS) | low; } where size of loff_t == size of long. [BZ #20349] * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
Diffstat (limited to 'sysdeps/unix/s-proto-cancel.S')
0 files changed, 0 insertions, 0 deletions