2013-06-13 18:41:17 -04:00
|
|
|
#ifndef _LIBLOCKDEP_RCU_H_
|
|
|
|
|
#define _LIBLOCKDEP_RCU_H_
|
|
|
|
|
|
|
|
|
|
int rcu_scheduler_active;
|
|
|
|
|
|
|
|
|
|
static inline int rcu_lockdep_current_cpu_online(void)
|
|
|
|
|
{
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static inline int rcu_is_cpu_idle(void)
|
|
|
|
|
{
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
|
2014-02-05 17:58:37 -05:00
|
|
|
static inline bool rcu_is_watching(void)
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2017-05-25 12:58:47 +00:00
|
|
|
#define rcu_assign_pointer(p, v) ((p) = (v))
|
2017-05-31 00:38:09 +00:00
|
|
|
#define RCU_INIT_POINTER(p, v) p=(v)
|
2017-05-25 12:58:47 +00:00
|
|
|
|
2013-06-13 18:41:17 -04:00
|
|
|
#endif
|