aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMimi Zohar2019-04-03 22:12:17 -0400
committerMimi Zohar2019-04-10 16:41:00 -0400
commit3d45ad9260c35c597706847e196aae8d966a574f (patch)
tree79b357a1876be37e3735554b98647c439aefa836
parent8db5da0b8618df79eceea99672e205d4a2a6309e (diff)
x86/ima: add missing include
As reported by 0-DAY kernel test infrastructure: arch/x86//kernel/ima_arch.c: In function 'arch_get_ima_policy': >> arch/x86//kernel/ima_arch.c:78:4: error: implicit declaration of function 'set_module_sig_enforced' [-Werror=implicit-function-declaration] Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
-rw-r--r--arch/x86/kernel/ima_arch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/ima_arch.c b/arch/x86/kernel/ima_arch.c
index 3fb9847f1cad..85de790583f9 100644
--- a/arch/x86/kernel/ima_arch.c
+++ b/arch/x86/kernel/ima_arch.c
@@ -3,6 +3,7 @@
* Copyright (C) 2018 IBM Corporation
*/
#include <linux/efi.h>
+#include <linux/module.h>
#include <linux/ima.h>
extern struct boot_params boot_params;