summaryrefslogtreecommitdiffstats
path: root/tools/arch/powerpc/include/uapi/asm/mman.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/arch/powerpc/include/uapi/asm/mman.h')
-rw-r--r--tools/arch/powerpc/include/uapi/asm/mman.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/arch/powerpc/include/uapi/asm/mman.h b/tools/arch/powerpc/include/uapi/asm/mman.h
index 7a56ab9988dd..761db43172fe 100644
--- a/tools/arch/powerpc/include/uapi/asm/mman.h
+++ b/tools/arch/powerpc/include/uapi/asm/mman.h
@@ -10,4 +10,6 @@
#define MAP_POPULATE 0x8000
#define MAP_STACK 0x20000
#include <uapi/asm-generic/mman-common.h>
+/* MAP_32BIT is undefined on powerpc, fix it for perf */
+#define MAP_32BIT 0
#endif