mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00: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]>
10 lines
198 B
C
10 lines
198 B
C
|
|
#ifndef PERF_CPUFEATURE_H
|
|
#define PERF_CPUFEATURE_H
|
|
|
|
/* cpufeature.h ... dummy header file for including arch/x86/lib/memcpy_64.S */
|
|
|
|
#define X86_FEATURE_REP_GOOD 0
|
|
|
|
#endif /* PERF_CPUFEATURE_H */
|