diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2014-09-07 19:29:00 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-09-28 17:09:34 +0100 |
commit | 4c2766b69c261703c62131b5e4200d0e164b5eb4 (patch) | |
tree | 5024abf8c56616b84a1ce93da2ee61b20207822b /intel/tests/gen7-2d-copy.batch.sh | |
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)
Diffstat (limited to 'intel/tests/gen7-2d-copy.batch.sh')
0 files changed, 0 insertions, 0 deletions