Skip to contentSkip to conversation

kernel/module.c: use set_memory.h header

PATCH New [email protected] 1 participant 1 message May 8, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 78/114 kernel/module.c: use set_memory.h header

From: Laura Abbott <[email protected]>
Subject: kernel/module.c: use set_memory.h header

set_memory_* functions have moved to set_memory.h. Switch to this explicitly.

---

 kernel/module.c |    3 +++
 1 file changed, 3 insertions(+)
kernel/module.c renamed from kernel/module.c~module-use-set_memoryh-header +3 -0
diff -puN kernel/module.c~module-use-set_memoryh-header kernel/module.c
@@ -49,6 +49,9 @@
 #include <linux/rculist.h>
 #include <linux/uaccess.h>
 #include <asm/cacheflush.h>
+#ifdef CONFIG_STRICT_MODULE_RWX
+#include <asm/set_memory.h>
+#endif
 #include <asm/mmu_context.h>
 #include <linux/license.h>
 #include <asm/sections.h>

_