urcu-defer: generate linker error if call_rcu() is used
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Tue, 3 Nov 2009 14:49:01 +0000 (09:49 -0500)
committerMathieu 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

index 5f74987..00f18ff 100644 (file)
 
 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.030643 seconds and 4 git commands to generate.