watchdog: add watchdog_cpumask sysctl to assist nohz
[firefly-linux-kernel-4.4.55.git] / kernel / smpboot.c
index 5e46c2a75d598ca17567a5050d44073703f6536d..7c434c39f02a250f4721475910e881b43b603313 100644 (file)
@@ -338,6 +338,7 @@ EXPORT_SYMBOL_GPL(smpboot_unregister_percpu_thread);
  *
  * The cpumask field in the smp_hotplug_thread must not be updated directly
  * by the client, but only by calling this function.
+ * This function can only be called on a registered smp_hotplug_thread.
  */
 int smpboot_update_cpumask_percpu_thread(struct smp_hotplug_thread *plug_thread,
                                         const struct cpumask *new)