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 5f7498756649c6474d2b884a9992a3e0501305ae..00f18ff47af3177c205006139fbc00850d12b446 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.025336 seconds and 4 git commands to generate.