summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.ibm.com>2018-04-10 12:39:34 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-04-16 09:10:23 +0200
commit232acdff21fb02f0ccd538cd29c9ee7e028b6101 (patch)
tree68fa2979c8db14b604ea80a3fba996a33ab4c216
parent701e188c6560d6abeba508f530c4224b4e830fb5 (diff)
downloadop-kernel-dev-232acdff21fb02f0ccd538cd29c9ee7e028b6101.zip
op-kernel-dev-232acdff21fb02f0ccd538cd29c9ee7e028b6101.tar.gz
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 <sebott@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/kernel/nospec-branch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/nospec-branch.c b/arch/s390/kernel/nospec-branch.c
index f236ce8..46d49a1 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 <linux/module.h>
#include <linux/device.h>
+#include <linux/cpu.h>
#include <asm/nospec-branch.h>
static int __init nobp_setup_early(char *str)
OpenPOWER on IntegriCloud