mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
perf bench needs this to build the kernel's memcpy routine: In file included from bench/mem-memcpy-x86-64-asm.S:2:0: bench/../../../arch/x86/lib/memcpy_64.S:7:33: fatal error: asm/alternative-asm.h: No such file or directory Cc: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Steven Rostedt <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
9 lines
192 B
C
9 lines
192 B
C
#ifndef _PERF_ASM_ALTERNATIVE_ASM_H
|
|
#define _PERF_ASM_ALTERNATIVE_ASM_H
|
|
|
|
/* Just disable it so we can build arch/x86/lib/memcpy_64.S for perf bench: */
|
|
|
|
#define altinstruction_entry #
|
|
|
|
#endif
|