summaryrefslogtreecommitdiff
path: root/tools/perf/util/include/linux/linkage.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/include/linux/linkage.h')
-rw-r--r--tools/perf/util/include/linux/linkage.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/perf/util/include/linux/linkage.h b/tools/perf/util/include/linux/linkage.h
new file mode 100644
index 000000000000..06387cffe125
--- /dev/null
+++ b/tools/perf/util/include/linux/linkage.h
@@ -0,0 +1,13 @@
+
+#ifndef PERF_LINUX_LINKAGE_H_
+#define PERF_LINUX_LINKAGE_H_
+
+/* linkage.h ... for including arch/x86/lib/memcpy_64.S */
+
+#define ENTRY(name) \
+ .globl name; \
+ name:
+
+#define ENDPROC(name)
+
+#endif /* PERF_LINUX_LINKAGE_H_ */