summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.ibm.com>2019-04-04 05:12:17 +0300
committerMimi Zohar <zohar@linux.ibm.com>2019-04-10 23:41:00 +0300
commit3d45ad9260c35c597706847e196aae8d966a574f (patch)
tree79b357a1876be37e3735554b98647c439aefa836
parent8db5da0b8618df79eceea99672e205d4a2a6309e (diff)
downloadlinux-3d45ad9260c35c597706847e196aae8d966a574f.tar.xz
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;