projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85509c0
)
[PARISC] Remove {,un}lock_kernel from perf ioctl
author
Matthew Wilcox
<willy@parisc-linux.org>
Tue, 17 Jan 2006 18:43:48 +0000
(11:43 -0700)
committer
Kyle McMartin
<kyle@duet.int.mcmartin.ca>
Mon, 23 Jan 2006 01:26:52 +0000
(20:26 -0500)
Remove the lock_kernel/unlock_kernel pair in the ioctl method. It
plainly wasn't protecting anything.
Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/perf.c
patch
|
blob
|
history
diff --git
a/arch/parisc/kernel/perf.c
b/arch/parisc/kernel/perf.c
index 11178ccbb89a90a5160848c8070628ff27a8e10c..53f861c82f93d5d462144aa0501689152785b359 100644
(file)
--- a/
arch/parisc/kernel/perf.c
+++ b/
arch/parisc/kernel/perf.c
@@
-444,7
+444,6
@@
static long perf_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
uint32_t raddr[4];
int error = 0;
- lock_kernel();
switch (cmd) {
case PA_PERF_ON:
@@
-477,8
+476,6
@@
static long perf_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
error = -ENOTTY;
}
- unlock_kernel();
-
return error;
}