summaryrefslogtreecommitdiffstats
path: root/kernel/tools/lib/lockdep/uinclude/linux/rcu.h
blob: 042ee8e463c98bf03d9a92e4d18dd3c01ec32162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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