]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
x86/iopl: Include prototype header for ksys_ioperm()
authorBenjamin Thiel <b.thiel@posteo.de>
Thu, 23 Jan 2020 13:30:51 +0000 (14:30 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 17 Feb 2020 15:36:53 +0000 (16:36 +0100)
.. 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
arch/x86/kernel/ioport.c

index 8abeee0dd7bfeb769621605350dd5e6992a0241f..a53e7b4a741925ba9048fcbba3030bccc9f3766e 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <asm/io_bitmap.h>
 #include <asm/desc.h>
+#include <asm/syscalls.h>
 
 #ifdef CONFIG_X86_IOPL_IOPERM