diff options
Diffstat (limited to 'include/linux/rcutiny.h')
-rw-r--r-- | include/linux/rcutiny.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/rcutiny.h b/include/linux/rcutiny.h index e93df77176d1..adb5e5a38cae 100644 --- a/include/linux/rcutiny.h +++ b/include/linux/rcutiny.h | |||
@@ -87,14 +87,6 @@ static inline void kfree_call_rcu(struct rcu_head *head, | |||
87 | 87 | ||
88 | #ifdef CONFIG_TINY_RCU | 88 | #ifdef CONFIG_TINY_RCU |
89 | 89 | ||
90 | static inline void rcu_preempt_note_context_switch(void) | ||
91 | { | ||
92 | } | ||
93 | |||
94 | static inline void exit_rcu(void) | ||
95 | { | ||
96 | } | ||
97 | |||
98 | static inline int rcu_needs_cpu(int cpu) | 90 | static inline int rcu_needs_cpu(int cpu) |
99 | { | 91 | { |
100 | return 0; | 92 | return 0; |
@@ -102,8 +94,6 @@ static inline int rcu_needs_cpu(int cpu) | |||
102 | 94 | ||
103 | #else /* #ifdef CONFIG_TINY_RCU */ | 95 | #else /* #ifdef CONFIG_TINY_RCU */ |
104 | 96 | ||
105 | void rcu_preempt_note_context_switch(void); | ||
106 | extern void exit_rcu(void); | ||
107 | int rcu_preempt_needs_cpu(void); | 97 | int rcu_preempt_needs_cpu(void); |
108 | 98 | ||
109 | static inline int rcu_needs_cpu(int cpu) | 99 | static inline int rcu_needs_cpu(int cpu) |
@@ -116,7 +106,6 @@ static inline int rcu_needs_cpu(int cpu) | |||
116 | static inline void rcu_note_context_switch(int cpu) | 106 | static inline void rcu_note_context_switch(int cpu) |
117 | { | 107 | { |
118 | rcu_sched_qs(cpu); | 108 | rcu_sched_qs(cpu); |
119 | rcu_preempt_note_context_switch(); | ||
120 | } | 109 | } |
121 | 110 | ||
122 | /* | 111 | /* |