commit | 4c2766b69c261703c62131b5e4200d0e164b5eb4 | [log] [tgz] |
---|---|---|
author | Emil Velikov <emil.l.velikov@gmail.com> | Sun Sep 07 19:29:00 2014 +0100 |
committer | Emil Velikov <emil.l.velikov@gmail.com> | Sun Sep 28 17:09:34 2014 +0100 |
tree | 5024abf8c56616b84a1ce93da2ee61b20207822b | |
parent | 268dce4192125ceb6a65f1c8d885e4b656310578 [diff] |
Add private mmap/munmap wrappers Unlike Linux, Android (bionic) has separate functions - mmap & mmap64. Add a local wrapper (inspired by gallium) that will be used throughout libdrm to combat this bionic feature. v2: - Drop the undefined unlikely macro. - Use macro for munmap under Android. - Wrap long lines. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> (v1)