hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/linux/tick.h
....@@ -211,6 +211,7 @@
211211 enum tick_dep_bits bit);
212212 extern void tick_nohz_dep_clear_signal(struct signal_struct *signal,
213213 enum tick_dep_bits bit);
214
+extern bool tick_nohz_cpu_hotpluggable(unsigned int cpu);
214215
215216 /*
216217 * The below are tick_nohz_[set,clear]_dep() wrappers that optimize off-cases
....@@ -275,6 +276,7 @@
275276
276277 static inline void tick_nohz_dep_set_cpu(int cpu, enum tick_dep_bits bit) { }
277278 static inline void tick_nohz_dep_clear_cpu(int cpu, enum tick_dep_bits bit) { }
279
+static inline bool tick_nohz_cpu_hotpluggable(unsigned int cpu) { return true; }
278280
279281 static inline void tick_dep_set(enum tick_dep_bits bit) { }
280282 static inline void tick_dep_clear(enum tick_dep_bits bit) { }