|
@@ -75,12 +75,6 @@ extern void rcu_init(void);
|
|
#error "Unknown RCU implementation specified to kernel configuration"
|
|
#error "Unknown RCU implementation specified to kernel configuration"
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#define RCU_HEAD_INIT { .next = NULL, .func = NULL }
|
|
|
|
-#define RCU_HEAD(head) struct rcu_head head = RCU_HEAD_INIT
|
|
|
|
-#define INIT_RCU_HEAD(ptr) do { \
|
|
|
|
- (ptr)->next = NULL; (ptr)->func = NULL; \
|
|
|
|
-} while (0)
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* init_rcu_head_on_stack()/destroy_rcu_head_on_stack() are needed for dynamic
|
|
* init_rcu_head_on_stack()/destroy_rcu_head_on_stack() are needed for dynamic
|
|
* initialization and destruction of rcu_head on the stack. rcu_head structures
|
|
* initialization and destruction of rcu_head on the stack. rcu_head structures
|