diff options
author | Sebastian Ott <sebott@linux.ibm.com> | 2018-04-10 12:39:34 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-04-16 09:10:23 +0200 |
commit | 232acdff21fb02f0ccd538cd29c9ee7e028b6101 (patch) | |
tree | 68fa2979c8db14b604ea80a3fba996a33ab4c216 | |
parent | 701e188c6560d6abeba508f530c4224b4e830fb5 (diff) | |
download | op-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.c | 1 |
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) |