diff options
| -rw-r--r-- | include/linux/rcupdate.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 3e1b6625553b..27b44b3e3024 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h | |||
| @@ -75,12 +75,6 @@ extern void rcu_init(void); | |||
| 75 | #error "Unknown RCU implementation specified to kernel configuration" | 75 | #error "Unknown RCU implementation specified to kernel configuration" |
| 76 | #endif | 76 | #endif |
| 77 | 77 | ||
| 78 | #define RCU_HEAD_INIT { .next = NULL, .func = NULL } | ||
| 79 | #define RCU_HEAD(head) struct rcu_head head = RCU_HEAD_INIT | ||
| 80 | #define INIT_RCU_HEAD(ptr) do { \ | ||
| 81 | (ptr)->next = NULL; (ptr)->func = NULL; \ | ||
| 82 | } while (0) | ||
| 83 | |||
| 84 | /* | 78 | /* |
| 85 | * init_rcu_head_on_stack()/destroy_rcu_head_on_stack() are needed for dynamic | 79 | * init_rcu_head_on_stack()/destroy_rcu_head_on_stack() are needed for dynamic |
| 86 | * initialization and destruction of rcu_head on the stack. rcu_head structures | 80 | * initialization and destruction of rcu_head on the stack. rcu_head structures |
