s390: move nobp parameter functions to nospec-branch.c

[ Upstream commit b2e2f43a01 ]

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>
This commit is contained in:
Martin Schwidefsky 2018-04-27 07:36:38 +02:00 • committed by Greg Kroah-Hartman
commit ea1bbd53f0
3 changed files with 29 additions and 25 deletions