[tip: x86/cleanups] x86/iopl: Include prototype header for ksys_ioperm()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <b.thiel@xxxxxxxxx>
AuthorDate:    Thu, 23 Jan 2020 14:30:51 +01:00
Committer:     Borislav Petkov <bp@xxxxxxx>
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 <b.thiel@xxxxxxxxx>
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
Link: https://lkml.kernel.org/r/20200123133051.5974-1-b.thiel@xxxxxxxxx
---
 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 8abeee0..a53e7b4 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
 



[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux