diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-05-09 11:01:26 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-06-12 16:25:55 +0200 |
commit | 92acfb7406171038ae4e3b6041576642cb75b529 (patch) | |
tree | 6f9a5bef314a657f13716a25f9200276405923ae /arch/s390/kernel/traps.c | |
parent | 1aea9b3f921003f0880f0676ae85d87c9f1cb4a2 (diff) | |
download | linux-stable-92acfb7406171038ae4e3b6041576642cb75b529.tar.gz linux-stable-92acfb7406171038ae4e3b6041576642cb75b529.tar.bz2 linux-stable-92acfb7406171038ae4e3b6041576642cb75b529.zip |
s390: add missing header includes for type checking
Add missing include statements to make sure that prototypes match
implementation. As reported by sparse:
arch/s390/crypto/arch_random.c:18:1:
warning: symbol 's390_arch_random_available' was not declared. Should it be static?
arch/s390/kernel/traps.c:279:13: warning:
symbol 'trap_init' was not declared. Should it be static?
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/traps.c')
-rw-r--r-- | arch/s390/kernel/traps.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/traps.c b/arch/s390/kernel/traps.c index f787b9d8f54c..442e5423ce3d 100644 --- a/arch/s390/kernel/traps.c +++ b/arch/s390/kernel/traps.c @@ -21,6 +21,7 @@ #include <linux/mm.h> #include <linux/slab.h> #include <linux/uaccess.h> +#include <linux/cpu.h> #include <asm/fpu/api.h> #include "entry.h" |