mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-22 22:33:59 +00:00
Stub out rcu_is_watching(), prevents build error with the updated tree. Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
21 lines
277 B
C
21 lines
277 B
C
#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;
|
|
}
|
|
|
|
#endif
|