tools include: Add mman macros needed by perf for all arch
[cascardo/linux.git] / tools / arch / hexagon / include / uapi / asm / mman.h
index f1adcce..102f3fa 100644 (file)
@@ -1,4 +1,6 @@
 #ifndef TOOLS_ARCH_HEXAGON_UAPI_ASM_MMAN_FIX_H
 #define TOOLS_ARCH_HEXAGON_UAPI_ASM_MMAN_FIX_H
 #include <uapi/asm-generic/mman.h>
+/* MAP_32BIT is undefined on hexagon, fix it for perf */
+#define MAP_32BIT      0
 #endif