aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/include/linux/sched/mm.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/linux/sched/mm.h')
-rw-r--r--tools/include/linux/sched/mm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/include/linux/sched/mm.h b/tools/include/linux/sched/mm.h
index c8d9f19c1f35..967294b8edcf 100644
--- a/tools/include/linux/sched/mm.h
+++ b/tools/include/linux/sched/mm.h
@@ -1,4 +1,6 @@
#ifndef _TOOLS_PERF_LINUX_SCHED_MM_H
#define _TOOLS_PERF_LINUX_SCHED_MM_H
+#define might_alloc(gfp) do { } while (0)
+
#endif /* _TOOLS_PERF_LINUX_SCHED_MM_H */