diff options
Diffstat (limited to 'include/linux/rcupdate.h')
-rw-r--r-- | include/linux/rcupdate.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index b758ce17b309..8e0948c872fc 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h | |||
@@ -999,4 +999,11 @@ static inline notrace void rcu_read_unlock_sched_notrace(void) | |||
999 | #define kfree_rcu(ptr, rcu_head) \ | 999 | #define kfree_rcu(ptr, rcu_head) \ |
1000 | __kfree_rcu(&((ptr)->rcu_head), offsetof(typeof(*(ptr)), rcu_head)) | 1000 | __kfree_rcu(&((ptr)->rcu_head), offsetof(typeof(*(ptr)), rcu_head)) |
1001 | 1001 | ||
1002 | #ifdef CONFIG_RCU_NOCB_CPU | ||
1003 | extern bool rcu_is_nocb_cpu(int cpu); | ||
1004 | #else | ||
1005 | static inline bool rcu_is_nocb_cpu(int cpu) { return false; } | ||
1006 | #endif /* #else #ifdef CONFIG_RCU_NOCB_CPU */ | ||
1007 | |||
1008 | |||
1002 | #endif /* __LINUX_RCUPDATE_H */ | 1009 | #endif /* __LINUX_RCUPDATE_H */ |