x86/iopl: Include prototype header for ksys_ioperm()
PATCH 1/1 x86/iopl: Include prototype header for ksys_ioperm()
.. in order to fix a -Wmissing-prototype warning.
No functional change.
Signed-off-by Benjamin Thiel <[email protected]>
--- arch/x86/kernel/ioport.c | 1 + 1 file changed, 1 insertion(+)
arch/x86/kernel/ioport.c +1 -0
@@ -13,6 +13,7 @@#include <asm/io_bitmap.h> #include <asm/desc.h> +#include <asm/syscalls.h> #ifdef CONFIG_X86_IOPL_IOPERM
Signature · 1 line
2.17.1
The following commit has been merged into the x86/cleanups branch of tip:
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: cdcb58cc05ed9a7f74509a023762488c111cdfb3 Gitweb: https://git.kernel.org/tip/cdcb58cc05ed9a7f74509a023762488c111cdfb3 Author: Benjamin Thiel <[email protected]> AuthorDate: Thu, 23 Jan 2020 14:30:51 +01:00 Committer: Borislav Petkov <[email protected]> CommitterDate: Mon, 17 Feb 2020 16:36:53 +01:00
x86/iopl: Include prototype header for ksys_ioperm()
.. in order to fix a -Wmissing-prototype warning.
No functional change.
Signed-off-by Benjamin Thiel <[email protected]>
Signed-off-by Borislav Petkov <[email protected]>
--- arch/x86/kernel/ioport.c | 1 + 1 file changed, 1 insertion(+)
arch/x86/kernel/ioport.c +1 -0
@@ -13,6 +13,7 @@#include <asm/io_bitmap.h> #include <asm/desc.h> +#include <asm/syscalls.h> #ifdef CONFIG_X86_IOPL_IOPERM