summaryrefslogtreecommitdiff
path: root/tools/perf/util/include
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2015-02-26 20:38:16 +0300
committerBorislav Petkov <bp@suse.de>2015-03-03 20:01:10 +0300
commit0cf55934ecace74bb7d26c0e9679fb41675a8903 (patch)
treedaefadffc2e370c8d3e4111f3fe095a80cd6f16a /tools/perf/util/include
parente0bc8d179e39a31bb3a56974374e55374fbf29be (diff)
downloadlinux-0cf55934ecace74bb7d26c0e9679fb41675a8903.tar.xz
perf/bench: Fix mem* routines usage after alternatives change
Adjust perf bench to the new changes in the alternatives code for memcpy/memset. Reviewed-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp> Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'tools/perf/util/include')
-rw-r--r--tools/perf/util/include/asm/alternative-asm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/include/asm/alternative-asm.h b/tools/perf/util/include/asm/alternative-asm.h
index 6789d788d494..3a3a0f16456a 100644
--- a/tools/perf/util/include/asm/alternative-asm.h
+++ b/tools/perf/util/include/asm/alternative-asm.h
@@ -4,5 +4,6 @@
/* Just disable it so we can build arch/x86/lib/memcpy_64.S for perf bench: */
#define altinstruction_entry #
+#define ALTERNATIVE_2 #
#endif