summaryrefslogtreecommitdiff
path: root/tools/perf/util/include/linux/prefetch.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/include/linux/prefetch.h')
-rw-r--r--tools/perf/util/include/linux/prefetch.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/util/include/linux/prefetch.h b/tools/perf/util/include/linux/prefetch.h
new file mode 100644
index 000000000000..7841e485d8c3
--- /dev/null
+++ b/tools/perf/util/include/linux/prefetch.h
@@ -0,0 +1,6 @@
+#ifndef PERF_LINUX_PREFETCH_H
+#define PERF_LINUX_PREFETCH_H
+
+static inline void prefetch(void *a __attribute__((unused))) { }
+
+#endif