diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-05-23 19:21:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-25 17:12:56 +0300 |
commit | 63257f26cec0ef8461d1f1d8a8f81384dcfff93f (patch) | |
tree | c75c9cfbbbf99fc971ef65746f2622fbba965fa3 /arch/s390/include/asm/cio.h | |
parent | 808449d2bc56bf0de49e03b6784e0986da526ea7 (diff) | |
download | linux-63257f26cec0ef8461d1f1d8a8f81384dcfff93f.tar.xz |
s390: add assembler macros for CPU alternatives
[ Upstream commit fba9eb7946251d6e420df3bdf7bc45195be7be9a ]
Add a header with macros usable in assembler files to emit alternative
code sequences. It works analog to the alternatives for inline assmeblies
in C files, with the same restrictions and capabilities.
The syntax is
ALTERNATIVE "<default instructions sequence>", \
"<alternative instructions sequence>", \
"<features-bit>"
and
ALTERNATIVE_2 "<default instructions sequence>", \
"<alternative instructions sqeuence #1>", \
"<feature-bit #1>",
"<alternative instructions sqeuence #2>", \
"<feature-bit #2>"
Reviewed-by: Vasily Gorbik <gor@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390/include/asm/cio.h')
0 files changed, 0 insertions, 0 deletions