summaryrefslogtreecommitdiffstats
path: root/tools/perf/bench/mem-memcpy-x86-64-asm.S
diff options
context:
space:
mode:
authorBorislav Petkov2015-02-26 18:38:16 +0100
committerBorislav Petkov2015-03-03 18:01:10 +0100
commit0cf55934ecace74bb7d26c0e9679fb41675a8903 (patch)
treedaefadffc2e370c8d3e4111f3fe095a80cd6f16a /tools/perf/bench/mem-memcpy-x86-64-asm.S
parentx86/lib/memcpy_64.S: Convert memcpy to ALTERNATIVE_2 macro (diff)
downloadkernel-qcow2-linux-0cf55934ecace74bb7d26c0e9679fb41675a8903.tar.gz
kernel-qcow2-linux-0cf55934ecace74bb7d26c0e9679fb41675a8903.tar.xz
kernel-qcow2-linux-0cf55934ecace74bb7d26c0e9679fb41675a8903.zip
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/bench/mem-memcpy-x86-64-asm.S')
-rw-r--r--tools/perf/bench/mem-memcpy-x86-64-asm.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/bench/mem-memcpy-x86-64-asm.S b/tools/perf/bench/mem-memcpy-x86-64-asm.S
index fcd9cf00600a..e4c2c30143b9 100644
--- a/tools/perf/bench/mem-memcpy-x86-64-asm.S
+++ b/tools/perf/bench/mem-memcpy-x86-64-asm.S
@@ -1,8 +1,6 @@
#define memcpy MEMCPY /* don't hide glibc's memcpy() */
#define altinstr_replacement text
#define globl p2align 4; .globl
-#define Lmemcpy_c globl memcpy_c; memcpy_c
-#define Lmemcpy_c_e globl memcpy_c_e; memcpy_c_e
#include "../../../arch/x86/lib/memcpy_64.S"
/*
* We need to provide note.GNU-stack section, saying that we want