diff options
author | Laura Abbott <labbott@redhat.com> | 2017-05-08 18:58:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-08 20:15:14 -0400 |
commit | bbca07c307166a753155e79a874d07023f4edd20 (patch) | |
tree | 32d7dfe6d4b66832003231e80fc9506194e5b5b1 /kernel/module.c | |
parent | 2d0bde57f3527ffac9279b4c8ba61060ba395b1a (diff) |
kernel/module.c: use set_memory.h header
set_memory_* functions have moved to set_memory.h. Switch to this
explicitly.
Link: http://lkml.kernel.org/r/1488920133-27229-12-git-send-email-labbott@redhat.com
Signed-off-by: Laura Abbott <labbott@redhat.com>
Acked-by: Jessica Yu <jeyu@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/module.c')
-rw-r--r-- | kernel/module.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/module.c b/kernel/module.c index 2b316b954828..4a3665f8f837 100644 --- a/kernel/module.c +++ b/kernel/module.c | |||
@@ -49,6 +49,9 @@ | |||
49 | #include <linux/rculist.h> | 49 | #include <linux/rculist.h> |
50 | #include <linux/uaccess.h> | 50 | #include <linux/uaccess.h> |
51 | #include <asm/cacheflush.h> | 51 | #include <asm/cacheflush.h> |
52 | #ifdef CONFIG_STRICT_MODULE_RWX | ||
53 | #include <asm/set_memory.h> | ||
54 | #endif | ||
52 | #include <asm/mmu_context.h> | 55 | #include <asm/mmu_context.h> |
53 | #include <linux/license.h> | 56 | #include <linux/license.h> |
54 | #include <asm/sections.h> | 57 | #include <asm/sections.h> |