From: Sebastian Ott Date: Tue, 10 Apr 2018 10:39:34 +0000 (+0200) Subject: s390/nospec: include cpu.h X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=232acdff21fb02f0ccd538cd29c9ee7e028b6101;p=openwrt%2Fstaging%2Fblogic.git s390/nospec: include cpu.h Fix the following sparse warnings: symbol 'cpu_show_spectre_v1' was not declared. Should it be static? symbol 'cpu_show_spectre_v2' was not declared. Should it be static? Signed-off-by: Sebastian Ott Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/nospec-branch.c b/arch/s390/kernel/nospec-branch.c index f236ce8757e8..46d49a11663f 100644 --- a/arch/s390/kernel/nospec-branch.c +++ b/arch/s390/kernel/nospec-branch.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include #include +#include #include static int __init nobp_setup_early(char *str)