|
@@ -62,8 +62,13 @@ int init_srcu_struct(struct srcu_struct *sp);
|
|
|
#include <linux/srcutree.h>
|
|
#include <linux/srcutree.h>
|
|
|
#elif defined(CONFIG_CLASSIC_SRCU)
|
|
#elif defined(CONFIG_CLASSIC_SRCU)
|
|
|
#include <linux/srcuclassic.h>
|
|
#include <linux/srcuclassic.h>
|
|
|
-#else
|
|
|
|
|
|
|
+#elif defined(CONFIG_SRCU)
|
|
|
#error "Unknown SRCU implementation specified to kernel configuration"
|
|
#error "Unknown SRCU implementation specified to kernel configuration"
|
|
|
|
|
+#else
|
|
|
|
|
+
|
|
|
|
|
+/* Dummy definition for things like notifiers. Actual use gets link error. */
|
|
|
|
|
+struct srcu_struct { };
|
|
|
|
|
+
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
/**
|