aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/ioport.c
diff options
context:
space:
mode:
authorBenjamin Thiel <b.thiel@posteo.de>2020-01-23 14:30:51 +0100
committerBorislav Petkov <bp@suse.de>2020-02-17 16:36:53 +0100
commitcdcb58cc05ed9a7f74509a023762488c111cdfb3 (patch)
tree6366f33e78aab915c0cec5d2b62409273cb5a63b /arch/x86/kernel/ioport.c
parentx86: Fix a handful of typos (diff)
downloadlinux-dev-cdcb58cc05ed9a7f74509a023762488c111cdfb3.tar.xz
linux-dev-cdcb58cc05ed9a7f74509a023762488c111cdfb3.zip
x86/iopl: Include prototype header for ksys_ioperm()
.. in order to fix a -Wmissing-prototype warning. No functional change. Signed-off-by: Benjamin Thiel <b.thiel@posteo.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20200123133051.5974-1-b.thiel@posteo.de
Diffstat (limited to 'arch/x86/kernel/ioport.c')
-rw-r--r--arch/x86/kernel/ioport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/ioport.c b/arch/x86/kernel/ioport.c
index 8abeee0dd7bf..a53e7b4a7419 100644
--- a/arch/x86/kernel/ioport.c
+++ b/arch/x86/kernel/ioport.c
@@ -13,6 +13,7 @@
#include <asm/io_bitmap.h>
#include <asm/desc.h>
+#include <asm/syscalls.h>
#ifdef CONFIG_X86_IOPL_IOPERM