summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt2009-01-07 09:42:32 +0100
committerPaul Mundt2009-01-21 09:42:55 +0100
commit5e6136135d4f50fda6699498185c6dffe08d7891 (patch)
treecaa7df93da14651185cd7a21409598eb350e259f /arch/sh
parentsh: convert rsk7203 to use smsc911x. (diff)
downloadkernel-qcow2-linux-5e6136135d4f50fda6699498185c6dffe08d7891.tar.gz
kernel-qcow2-linux-5e6136135d4f50fda6699498185c6dffe08d7891.tar.xz
kernel-qcow2-linux-5e6136135d4f50fda6699498185c6dffe08d7891.zip
sh: Drop the BKL from sys_execve() on SH-5.
Brings it in line with the SH implementation, the BKL is not necessary here. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/kernel/process_64.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/kernel/process_64.c b/arch/sh/kernel/process_64.c
index a7e5f2e74bac..c90c7e5e5fee 100644
--- a/arch/sh/kernel/process_64.c
+++ b/arch/sh/kernel/process_64.c
@@ -520,7 +520,6 @@ asmlinkage int sys_execve(char *ufilename, char **uargv,
int error;
char *filename;
- lock_kernel();
filename = getname((char __user *)ufilename);
error = PTR_ERR(filename);
if (IS_ERR(filename))
@@ -537,7 +536,6 @@ asmlinkage int sys_execve(char *ufilename, char **uargv,
}
putname(filename);
out:
- unlock_kernel();
return error;
}