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)
commit6dd85fbb87d1d6b87a3b1f02ca28d7b2abd2e7ba
tree595e60d24724231047b429bb4a40a3e908648e22
parentd66a7355717ec903d455277a550d930ba13df4a8
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: f19fbd5ed6 ("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