|
@@ -230,12 +230,11 @@ void __wait_rcu_gp(bool checktiny, int n, call_rcu_func_t *crcu_array,
|
|
|
struct rcu_synchronize *rs_array);
|
|
|
|
|
|
#define _wait_rcu_gp(checktiny, ...) \
|
|
|
-do { \
|
|
|
- call_rcu_func_t __crcu_array[] = { __VA_ARGS__ }; \
|
|
|
- const int __n = ARRAY_SIZE(__crcu_array); \
|
|
|
- struct rcu_synchronize __rs_array[__n]; \
|
|
|
- \
|
|
|
- __wait_rcu_gp(checktiny, __n, __crcu_array, __rs_array); \
|
|
|
+do { \
|
|
|
+ call_rcu_func_t __crcu_array[] = { __VA_ARGS__ }; \
|
|
|
+ struct rcu_synchronize __rs_array[ARRAY_SIZE(__crcu_array)]; \
|
|
|
+ __wait_rcu_gp(checktiny, ARRAY_SIZE(__crcu_array), \
|
|
|
+ __crcu_array, __rs_array); \
|
|
|
} while (0)
|
|
|
|
|
|
#define wait_rcu_gp(...) _wait_rcu_gp(false, __VA_ARGS__)
|