mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00:00
ea7872b9d6
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 <mitake@dcl.info.waseda.ac.jp> Cc: h.mitake@gmail.com Cc: Miao Xie <miaox@cn.fujitsu.com> Cc: Ma Ling <ling.ma@intel.com> Cc: Zhao Yakui <yakui.zhao@intel.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Andi Kleen <andi@firstfloor.org> LKML-Reference: <1290668693-27068-2-git-send-email-mitake@dcl.info.waseda.ac.jp> Signed-off-by: Ingo Molnar <mingo@elte.hu>
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 */
|