mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-05 09:05:53 +01:00
This patch ports arch/x86/lib/memcpy_64.S to perf bench mem memcpy for benchmarking memcpy() in userland with tricky and dirty way. util/include/asm/cpufeature.h, util/include/asm/dwarf2.h, and util/include/linux/linkage.h are mostly dummy files with small wrappers, so that we are able to include memcpy_64.S unmodified. Signed-off-by: Hitoshi Mitake <[email protected]> Cc: [email protected] Cc: Miao Xie <[email protected]> Cc: Ma Ling <[email protected]> Cc: Zhao Yakui <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Andi Kleen <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
14 lines
232 B
C
14 lines
232 B
C
|
|
#ifndef PERF_LINUX_LINKAGE_H_
|
|
#define PERF_LINUX_LINKAGE_H_
|
|
|
|
/* linkage.h ... for including arch/x86/lib/memcpy_64.S */
|
|
|
|
#define ENTRY(name) \
|
|
.globl name; \
|
|
name:
|
|
|
|
#define ENDPROC(name)
|
|
|
|
#endif /* PERF_LINUX_LINKAGE_H_ */
|