s390: move nobp parameter functions to nospec-branch.c
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 27 Apr 2018 05:36:52 +0000 (07:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Apr 2018 09:31:59 +0000 (11:31 +0200)
commit2afb4e9dfc0a44a4b616e4461fbf972e5ad4b0fe
tree754059347d6cb9243224870d9cf69e1a48955f79
parent7634817fc5fad945d67c578f04c731ce25dc86bc
s390: move nobp parameter functions to nospec-branch.c

[ Upstream commit b2e2f43a01bace1a25bdbae04c9f9846882b727a ]

Keep the code for the nobp parameter handling with the code for
expolines. Both are related to the spectre v2 mitigation.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kernel/Makefile
arch/s390/kernel/alternative.c
arch/s390/kernel/nospec-branch.c