]> git.baikalelectronics.ru Git - kernel.git/commit
s390: move expoline assembler macros to a header
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 20 Apr 2018 14:49:46 +0000 (16:49 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 7 May 2018 07:07:32 +0000 (09:07 +0200)
commite3abc9f60e4a6bfcbc52c0179a7f230eaee59dcb
tree595e60d24724231047b429bb4a40a3e908648e22
parentac32dcae2109f112696468ffbd5793bba46f8cba
s390: move expoline assembler macros to a header

To be able to use the expoline branches in different assembler
files move the associated macros from entry.S to a new header
nospec-insn.h.

While we are at it make the macros a bit nicer to use.

Cc: stable@vger.kernel.org # 4.16
Fixes: bb1a952994 ("s390: introduce execute-trampolines for branches")
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/nospec-insn.h [new file with mode: 0644]
arch/s390/kernel/entry.S