]> err.no Git - linux-2.6/commit
sh: module_alloc() should be using vmalloc_exec().
authorPaul Mundt <lethal@linux-sh.org>
Mon, 4 Aug 2008 04:34:29 +0000 (13:34 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 4 Aug 2008 04:34:29 +0000 (13:34 +0900)
commit4b59c97325371d51275bdb50523fa98a301615b0
tree698e6f8e32bd03f7a40a4d1185548705c06fcf4f
parent3108cf061228c2c2951006c80fb6fe832000adda
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: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/module.c