Linux 4.16-rc1
[cris-mirror.git] / tools / include / linux / rcu.h
blob7d02527e5bcea4bd577c8f7062fc0c92a00be218
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LIBLOCKDEP_RCU_H_
3 #define _LIBLOCKDEP_RCU_H_
5 int rcu_scheduler_active;
7 static inline int rcu_lockdep_current_cpu_online(void)
9 return 1;
12 static inline int rcu_is_cpu_idle(void)
14 return 1;
17 static inline bool rcu_is_watching(void)
19 return false;
22 #define rcu_assign_pointer(p, v) ((p) = (v))
23 #define RCU_INIT_POINTER(p, v) p=(v)
25 #endif