auxiliary/os: fix the android build - s/drm_munmap/os_munmap/
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 16 Mar 2015 15:00:18 +0000 (15:00 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 16 Mar 2015 20:59:36 +0000 (20:59 +0000)
Squash this silly typo introduced with commit c63eb5dd5ec(auxiliary/os: get
the mmap/munmap wrappers working with android)

Cc: "10.4 10.5" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/os/os_mman.h

index 19c9a5b..3fc8c43 100644 (file)
@@ -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 */