projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[MIPS] ret_from_irq adjustment
[powerpc.git]
/
fs
/
binfmt_elf_fdpic.c
diff --git
a/fs/binfmt_elf_fdpic.c
b/fs/binfmt_elf_fdpic.c
index
2f33658
..
f86d5c9
100644
(file)
--- a/
fs/binfmt_elf_fdpic.c
+++ b/
fs/binfmt_elf_fdpic.c
@@
-1597,20
+1597,19
@@
static int elf_fdpic_core_dump(long signr, struct pt_regs *regs,
if (signr) {
struct elf_thread_status *tmp;
if (signr) {
struct elf_thread_status *tmp;
- r
ead_lock(&tasklist_lock
);
+ r
cu_read_lock(
);
do_each_thread(g,p)
if (current->mm == p->mm && current != p) {
tmp = kzalloc(sizeof(*tmp), GFP_ATOMIC);
if (!tmp) {
do_each_thread(g,p)
if (current->mm == p->mm && current != p) {
tmp = kzalloc(sizeof(*tmp), GFP_ATOMIC);
if (!tmp) {
- r
ead_unlock(&tasklist_lock
);
+ r
cu_read_unlock(
);
goto cleanup;
}
goto cleanup;
}
- INIT_LIST_HEAD(&tmp->list);
tmp->thread = p;
list_add(&tmp->list, &thread_list);
}
while_each_thread(g,p);
tmp->thread = p;
list_add(&tmp->list, &thread_list);
}
while_each_thread(g,p);
- r
ead_unlock(&tasklist_lock
);
+ r
cu_read_unlock(
);
list_for_each(t, &thread_list) {
struct elf_thread_status *tmp;
int sz;
list_for_each(t, &thread_list) {
struct elf_thread_status *tmp;
int sz;