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

From: Benjamin Thiel
Date: Thu Jan 23 2020 - 08:30:58 EST


.. in order to fix a -Wmissing-prototype warning.

No functional change.

Signed-off-by: Benjamin Thiel <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 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