summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-03-16 15:00:18 +0000
committerEmil Velikov <[email protected]>2015-03-16 20:59:36 +0000
commit55f0c0a29f788c5df4820e81c0cf93613ccedf5e (patch)
tree25389cd31fc76c33d93fa83cfe042561d8904978 /src
parent5664f57df3b7dfc5def189d1ee7a1b3df7d92bd6 (diff)
auxiliary/os: fix the android build - s/drm_munmap/os_munmap/
Squash this silly typo introduced with commit c63eb5dd5ec(auxiliary/os: get the mmap/munmap wrappers working with android) Cc: "10.4 10.5" <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/os/os_mman.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/os/os_mman.h b/src/gallium/auxiliary/os/os_mman.h
index 19c9a5b81f5..3fc8c432f80 100644
--- a/src/gallium/auxiliary/os/os_mman.h
+++ b/src/gallium/auxiliary/os/os_mman.h
@@ -70,8 +70,8 @@ static INLINE void *os_mmap(void *addr, size_t length, int prot, int flags,
return __mmap2(addr, length, prot, flags, fd, (size_t) (offset >> 12));
}
-# define drm_munmap(addr, length) \
- munmap(addr, length)
+# define os_munmap(addr, length) \
+ munmap(addr, length)
#else
/* assume large file support exists */