summaryrefslogtreecommitdiffstats
path: root/tools/include/asm/alternative.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/include/asm/alternative.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/include/asm/alternative.h b/tools/include/asm/alternative.h
new file mode 100644
index 0000000000..7ce02a2237
--- /dev/null
+++ b/tools/include/asm/alternative.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#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 ALTERNATIVE #
+
+#endif