]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sh: Drop the BKL from sys_execve() on SH-5.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 7 Jan 2009 08:42:32 +0000 (17:42 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 21 Jan 2009 08:42:55 +0000 (17:42 +0900)
Brings it in line with the SH implementation, the BKL is not
necessary here.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/process_64.c

index a7e5f2e74bacd20fd9bced8573715bcc5b8301dd..c90c7e5e5feee930fc641d3a97403958d2992ea3 100644 (file)
@@ -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;
 }