mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-18 23:18:20 +00:00
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>
This commit is contained in:
parent
8ed3592e56
commit
5e6136135d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user