diff options
author | Benjamin Thiel <b.thiel@posteo.de> | 2020-01-23 14:30:51 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-02-17 16:36:53 +0100 |
commit | cdcb58cc05ed9a7f74509a023762488c111cdfb3 (patch) | |
tree | 6366f33e78aab915c0cec5d2b62409273cb5a63b | |
parent | 4d1d0977a2156a1dafe8f1cd890ab918c803485b (diff) | |
download | linux-stable-cdcb58cc05ed9a7f74509a023762488c111cdfb3.tar.gz linux-stable-cdcb58cc05ed9a7f74509a023762488c111cdfb3.tar.bz2 linux-stable-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
-rw-r--r-- | arch/x86/kernel/ioport.c | 1 |
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 |