Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b59c973 authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 3108cf06
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -37,7 +37,8 @@ void *module_alloc(unsigned long size)
{
	if (size == 0)
		return NULL;
	return vmalloc(size);

	return vmalloc_exec(size);
}