You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
399 B
25 lines
399 B
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#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;
|
|
}
|
|
|
|
static inline bool rcu_is_watching(void)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
#define rcu_assign_pointer(p, v) ((p) = (v))
|
|
#define RCU_INIT_POINTER(p, v) p=(v)
|
|
|
|
#endif
|
|
|