summaryrefslogtreecommitdiff
path: root/samples/hidraw
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2018-05-23 19:22:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-25 17:17:31 +0300
commit9a38169fb6025fdc6d468b1111a43e719c2143a6 (patch)
tree0ef1918ba6555c68b8bc2b7d67c6d1150275f612 /samples/hidraw
parent131ff238b85971c75679670be41df5feb6b6530e (diff)
downloadlinux-9a38169fb6025fdc6d468b1111a43e719c2143a6.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 'samples/hidraw')
0 files changed, 0 insertions, 0 deletions