Skip to content
projects
/
linux
·
blob
master ·
refs
linux
tools
include
asm
alternative.h
…
History
History
·
Raw
Raw
·
Diff
Diff
·
Blob
Blob
19 lines · 353 B
1
/*
SPDX-License-Identifier: GPL-2.0
*/
2
#ifndef
_TOOLS_ASM_ALTERNATIVE_ASM_H
3
#define
_TOOLS_ASM_ALTERNATIVE_ASM_H
4
5
#if
defined
(__s390x__)
6
#ifdef
__ASSEMBLY__
7
.
macro
ALTERNATIVE oldinstr
,
newinstr
,
feature
8
\oldinstr
9
.
endm
10
#endif
11
#else
12
13
/*
Just disable it so we can build arch/x86/lib/memcpy_64.S for perf bench:
*/
14
15
#define
ALTERNATIVE
#
16
17
#endif
18
19
#endif