diff options
| author | Paul Mundt <lethal@linux-sh.org> | 2009-01-07 03:42:32 -0500 |
|---|---|---|
| committer | Paul Mundt <lethal@linux-sh.org> | 2009-01-21 03:42:55 -0500 |
| commit | 5e6136135d4f50fda6699498185c6dffe08d7891 (patch) | |
| tree | caa7df93da14651185cd7a21409598eb350e259f /arch/sh/kernel/process_64.c | |
| parent | 8ed3592e567db7344b2c7353667e0d281cd13471 (diff) | |
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/kernel/process_64.c')
| -rw-r--r-- | arch/sh/kernel/process_64.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/kernel/process_64.c b/arch/sh/kernel/process_64.c index a7e5f2e74ba..c90c7e5e5fe 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, | |||
| 520 | int error; | 520 | int error; |
| 521 | char *filename; | 521 | char *filename; |
| 522 | 522 | ||
| 523 | lock_kernel(); | ||
| 524 | filename = getname((char __user *)ufilename); | 523 | filename = getname((char __user *)ufilename); |
| 525 | error = PTR_ERR(filename); | 524 | error = PTR_ERR(filename); |
| 526 | if (IS_ERR(filename)) | 525 | if (IS_ERR(filename)) |
| @@ -537,7 +536,6 @@ asmlinkage int sys_execve(char *ufilename, char **uargv, | |||
| 537 | } | 536 | } |
| 538 | putname(filename); | 537 | putname(filename); |
| 539 | out: | 538 | out: |
| 540 | unlock_kernel(); | ||
| 541 | return error; | 539 | return error; |
| 542 | } | 540 | } |
| 543 | 541 | ||
