提交 4b59c973 编写于 作者: P Paul Mundt

sh: module_alloc() should be using vmalloc_exec().

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: NPaul Mundt <lethal@linux-sh.org>
上级 3108cf06
......@@ -37,7 +37,8 @@ void *module_alloc(unsigned long size)
{
if (size == 0)
return NULL;
return vmalloc(size);
return vmalloc_exec(size);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册