projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for custom memory allocators for rculfhash
[userspace-rcu.git]
/
src
/
urcu-call-rcu-impl.h
diff --git
a/src/urcu-call-rcu-impl.h
b/src/urcu-call-rcu-impl.h
index 22d8570e41bc145c44838f07c9d34627b9cdca6a..2ea1efcd19c978f4a144aa4f7300ecdae8e67101 100644
(file)
--- a/
src/urcu-call-rcu-impl.h
+++ b/
src/urcu-call-rcu-impl.h
@@
-895,7
+895,7
@@
void rcu_barrier(void)
goto online;
}
goto online;
}
- completion = calloc(
sizeof(*completion), 1
);
+ completion = calloc(
1, sizeof(*completion)
);
if (!completion)
urcu_die(errno);
if (!completion)
urcu_die(errno);
@@
-910,7
+910,7
@@
void rcu_barrier(void)
cds_list_for_each_entry(crdp, &call_rcu_data_list, list) {
struct call_rcu_completion_work *work;
cds_list_for_each_entry(crdp, &call_rcu_data_list, list) {
struct call_rcu_completion_work *work;
- work = calloc(
sizeof(*work), 1
);
+ work = calloc(
1, sizeof(*work)
);
if (!work)
urcu_die(errno);
work->completion = completion;
if (!work)
urcu_die(errno);
work->completion = completion;
This page took
0.030258 seconds
and
4
git commands to generate.