summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>2011-03-16 19:05:59 -0400
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2011-03-16 19:05:59 -0400
commit2bb8ae6cfcc6daaf5fa71235059fb2deb710b872 (patch)
tree4e88cf5db2c3faded767088c340c5632aa742465 /kernel
parente031f0a736fb18584130b32d58ed5d4b12677489 (diff)
marker-remove-init-rcu-head
marker remove init rcu head Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/marker.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/marker.c b/kernel/marker.c
index d22bbc69f35..eac8ebfc3b9 100644
--- a/kernel/marker.c
+++ b/kernel/marker.c
@@ -292,7 +292,6 @@ marker_entry_add_probe(struct marker_entry *entry,
GFP_KERNEL);
if (new == NULL)
return ERR_PTR(-ENOMEM);
- INIT_RCU_HEAD(&new->rcu);
if (!old)
new->c[0] = entry->single;
else
@@ -361,7 +360,6 @@ marker_entry_remove_probe(struct marker_entry *entry,
GFP_KERNEL);
if (new == NULL)
return ERR_PTR(-ENOMEM);
- INIT_RCU_HEAD(&new->rcu);
for (i = 0; old->c[i].func; i++)
if ((probe && old->c[i].func != probe) ||
old->c[i].probe_private != probe_private)