summaryrefslogtreecommitdiff
path: root/tools/include/asm
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/asm')
-rw-r--r--tools/include/asm/alternative-asm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/include/asm/alternative-asm.h b/tools/include/asm/alternative-asm.h
new file mode 100644
index 000000000..2a4d1bfa2
--- /dev/null
+++ b/tools/include/asm/alternative-asm.h
@@ -0,0 +1,9 @@
+#ifndef _TOOLS_ASM_ALTERNATIVE_ASM_H
+#define _TOOLS_ASM_ALTERNATIVE_ASM_H
+
+/* Just disable it so we can build arch/x86/lib/memcpy_64.S for perf bench: */
+
+#define altinstruction_entry #
+#define ALTERNATIVE_2 #
+
+#endif