summaryrefslogtreecommitdiff
path: root/include/linux/prefetch.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/prefetch.h')
-rw-r--r--include/linux/prefetch.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/prefetch.h b/include/linux/prefetch.h
new file mode 100644
index 00000000..13cb826d
--- /dev/null
+++ b/include/linux/prefetch.h
@@ -0,0 +1,7 @@
+#ifndef _LINUX_PREFETCH_H
+#define _LINUX_PREFETCH_H
+
+#define prefetch(p) \
+ ({ __maybe_unused typeof(p) __var = (p); })
+
+#endif /* _LINUX_PREFETCH_H */