perf bench: Copy kernel files needed to build mem{cpy,set} x86_64 benchmarks
[cascardo/linux.git] / tools / include / asm / alternative-asm.h
diff --git a/tools/include/asm/alternative-asm.h b/tools/include/asm/alternative-asm.h
new file mode 100644 (file)
index 0000000..2a4d1bf
--- /dev/null
@@ -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