projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3108cf0
)
sh: module_alloc() should be using vmalloc_exec().
author
Paul Mundt
<lethal@linux-sh.org>
Mon, 4 Aug 2008 04:34:29 +0000
(13:34 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 4 Aug 2008 04:34:29 +0000
(13:34 +0900)
SH-X2 extended mode TLB allows for toggling of the exec bit, so make
sure we are using the right protection bits for module space there
also.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/module.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/kernel/module.c
b/arch/sh/kernel/module.c
index 6ba2b79b826b64c903d4d08d0cd42c895971ecc0..c43081039dd571ab3992628830d5cd171a3d23fd 100644
(file)
--- a/
arch/sh/kernel/module.c
+++ b/
arch/sh/kernel/module.c
@@
-37,7
+37,8
@@
void *module_alloc(unsigned long size)
{
if (size == 0)
return NULL;
- return vmalloc(size);
+
+ return vmalloc_exec(size);
}