mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
![Levin, Alexander (Sasha Levin)](/assets/img/avatar_default.png)
Move to using tools/include/ instead. Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: acme@redhat.com Link: http://lkml.kernel.org/r/20170531003747.10557-2-alexander.levin@verizon.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
24 lines
360 B
C
24 lines
360 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;
|
|
}
|
|
|
|
#define rcu_assign_pointer(p, v) ((p) = (v))
|
|
#define RCU_INIT_POINTER(p, v) p=(v)
|
|
|
|
#endif
|