projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d0bde5
)
kernel/module.c: use set_memory.h header
author
Laura Abbott
<
[email protected]
>
Mon, 8 May 2017 22:58:29 +0000
(15:58 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 9 May 2017 00:15:14 +0000
(17:15 -0700)
set_memory_* functions have moved to set_memory.h. Switch to this
explicitly.
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Laura Abbott <
[email protected]
>
Acked-by: Jessica Yu <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
kernel/module.c
patch
|
blob
|
history
diff --git
a/kernel/module.c
b/kernel/module.c
index 2b316b95482817c30a972276d204ada3787f79f3..4a3665f8f8372aab68b658c24c30678806823eee 100644
(file)
--- a/
kernel/module.c
+++ b/
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>