summaryrefslogtreecommitdiffstats
path: root/include/linux/rcutree.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/rcutree.h')
-rw-r--r--include/linux/rcutree.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/rcutree.h b/include/linux/rcutree.h
index 63a4e4cf40a5..0bacb6b2af69 100644
--- a/include/linux/rcutree.h
+++ b/include/linux/rcutree.h
@@ -30,7 +30,7 @@
30#ifndef __LINUX_RCUTREE_H 30#ifndef __LINUX_RCUTREE_H
31#define __LINUX_RCUTREE_H 31#define __LINUX_RCUTREE_H
32 32
33void rcu_note_context_switch(void); 33void rcu_note_context_switch(bool preempt);
34int rcu_needs_cpu(u64 basem, u64 *nextevt); 34int rcu_needs_cpu(u64 basem, u64 *nextevt);
35void rcu_cpu_stall_reset(void); 35void rcu_cpu_stall_reset(void);
36 36
@@ -41,7 +41,7 @@ void rcu_cpu_stall_reset(void);
41 */ 41 */
42static inline void rcu_virt_note_context_switch(int cpu) 42static inline void rcu_virt_note_context_switch(int cpu)
43{ 43{
44 rcu_note_context_switch(); 44 rcu_note_context_switch(false);
45} 45}
46 46
47void synchronize_rcu_bh(void); 47void synchronize_rcu_bh(void);
@@ -108,6 +108,7 @@ void rcu_scheduler_starting(void);
108extern int rcu_scheduler_active __read_mostly; 108extern int rcu_scheduler_active __read_mostly;
109 109
110bool rcu_is_watching(void); 110bool rcu_is_watching(void);
111void rcu_request_urgent_qs_task(struct task_struct *t);
111 112
112void rcu_all_qs(void); 113void rcu_all_qs(void);
113 114