Messages in this thread Patch in this message | | | From | Benjamin Thiel <> | Subject | [PATCH] x86/iopl: Include prototype header for ksys_ioperm() | Date | Thu, 23 Jan 2020 14:30:51 +0100 |
| |
.. in order to fix a -Wmissing-prototype warning.
No functional change.
Signed-off-by: Benjamin Thiel <b.thiel@posteo.de> --- arch/x86/kernel/ioport.c | 1 + 1 file changed, 1 insertion(+)
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 -- 2.17.1
| |