projects
/
urcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c55af9
)
urcu-defer: generate linker error if call_rcu() is used
author
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Tue, 3 Nov 2009 14:49:01 +0000
(09:49 -0500)
committer
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Tue, 3 Nov 2009 14:49:01 +0000
(09:49 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
urcu-defer.h
patch
|
blob
|
blame
|
history
diff --git
a/urcu-defer.h
b/urcu-defer.h
index 5f7498756649c6474d2b884a9992a3e0501305ae..00f18ff47af3177c205006139fbc00850d12b446 100644
(file)
--- a/
urcu-defer.h
+++ b/
urcu-defer.h
@@
-48,6
+48,14
@@
extern void defer_rcu(void (*fct)(void *p), void *p);
+/*
+ * call_rcu will eventually be implemented with an API similar to the Linux
+ * kernel call_rcu(), which will allow its use within RCU read-side C.S.
+ * Generate an error if used for now.
+ */
+
+#define call_rcu __error_call_rcu_not_implemented_please_use_defer_rcu
+
/*
* Thread registration for reclamation.
*/
This page took
0.025412 seconds
and
4
git commands to generate.