diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2015-06-11 12:07:12 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2015-07-29 09:45:01 -0400 |
commit | de734f89b67c2df30e35a09e7e56a3659e5b6ac6 (patch) | |
tree | 1fbf44a22ac25a42c25fbb13fbf6195191438ab7 /include/linux/tick.h | |
parent | 59d2c7ca492d7a7093755e4108390e4dac8b6365 (diff) |
nohz: Remove useless argument on tick_nohz_task_switch()
Leftover from early code.
Cc: Christoph Lameter <cl@linux.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'include/linux/tick.h')
-rw-r--r-- | include/linux/tick.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/tick.h b/include/linux/tick.h index 7d35b0fec399..48d901f83f92 100644 --- a/include/linux/tick.h +++ b/include/linux/tick.h | |||
@@ -150,7 +150,7 @@ static inline void tick_nohz_full_add_cpus_to(struct cpumask *mask) | |||
150 | extern void tick_nohz_full_kick(void); | 150 | extern void tick_nohz_full_kick(void); |
151 | extern void tick_nohz_full_kick_cpu(int cpu); | 151 | extern void tick_nohz_full_kick_cpu(int cpu); |
152 | extern void tick_nohz_full_kick_all(void); | 152 | extern void tick_nohz_full_kick_all(void); |
153 | extern void __tick_nohz_task_switch(struct task_struct *tsk); | 153 | extern void __tick_nohz_task_switch(void); |
154 | #else | 154 | #else |
155 | static inline bool tick_nohz_full_enabled(void) { return false; } | 155 | static inline bool tick_nohz_full_enabled(void) { return false; } |
156 | static inline bool tick_nohz_full_cpu(int cpu) { return false; } | 156 | static inline bool tick_nohz_full_cpu(int cpu) { return false; } |
@@ -158,7 +158,7 @@ static inline void tick_nohz_full_add_cpus_to(struct cpumask *mask) { } | |||
158 | static inline void tick_nohz_full_kick_cpu(int cpu) { } | 158 | static inline void tick_nohz_full_kick_cpu(int cpu) { } |
159 | static inline void tick_nohz_full_kick(void) { } | 159 | static inline void tick_nohz_full_kick(void) { } |
160 | static inline void tick_nohz_full_kick_all(void) { } | 160 | static inline void tick_nohz_full_kick_all(void) { } |
161 | static inline void __tick_nohz_task_switch(struct task_struct *tsk) { } | 161 | static inline void __tick_nohz_task_switch(void) { } |
162 | #endif | 162 | #endif |
163 | 163 | ||
164 | static inline const struct cpumask *housekeeping_cpumask(void) | 164 | static inline const struct cpumask *housekeeping_cpumask(void) |
@@ -188,10 +188,10 @@ static inline void housekeeping_affine(struct task_struct *t) | |||
188 | #endif | 188 | #endif |
189 | } | 189 | } |
190 | 190 | ||
191 | static inline void tick_nohz_task_switch(struct task_struct *tsk) | 191 | static inline void tick_nohz_task_switch(void) |
192 | { | 192 | { |
193 | if (tick_nohz_full_enabled()) | 193 | if (tick_nohz_full_enabled()) |
194 | __tick_nohz_task_switch(tsk); | 194 | __tick_nohz_task_switch(); |
195 | } | 195 | } |
196 | 196 | ||
197 | #endif | 197 | #endif |