s390: move nobp parameter functions to nospec-branch.c
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 27 Apr 2018 05:36:38 +0000 (07:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Apr 2018 09:33:15 +0000 (11:33 +0200)
commitea1bbd53f0558fa625f07fd69f5dbb58cbb8a95c
treed047d4c5d4c6fc572f2ba5d3e74c6b37cbedc4ee
parent6cdc4b21d219d47a96317942667339460281959d
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