projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branches 'acpi-ec', 'acpi-fan' and 'acpi-pci'
[linux-2.6-microblaze.git]
/
kernel
/
fork.c
diff --git
a/kernel/fork.c
b/kernel/fork.c
index
60a1295
..
8642530
100644
(file)
--- a/
kernel/fork.c
+++ b/
kernel/fork.c
@@
-1508,7
+1508,7
@@
static int copy_sighand(unsigned long clone_flags, struct task_struct *tsk)
return 0;
}
sig = kmem_cache_alloc(sighand_cachep, GFP_KERNEL);
-
rcu_assign_pointer
(tsk->sighand, sig);
+
RCU_INIT_POINTER
(tsk->sighand, sig);
if (!sig)
return -ENOMEM;