]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/smpboot.h
ext4, jbd2: ensure entering into panic after recording an error in superblock
[karo-tx-linux.git] / include / linux / smpboot.h
index da3c593f9845b09702453e4db9096806ff7271b7..e6109a6cd8f65eb779163d1a084a6e0256a11db0 100644 (file)
@@ -48,7 +48,16 @@ struct smp_hotplug_thread {
        const char                      *thread_comm;
 };
 
-int smpboot_register_percpu_thread(struct smp_hotplug_thread *plug_thread);
+int smpboot_register_percpu_thread_cpumask(struct smp_hotplug_thread *plug_thread,
+                                          const struct cpumask *cpumask);
+
+static inline int
+smpboot_register_percpu_thread(struct smp_hotplug_thread *plug_thread)
+{
+       return smpboot_register_percpu_thread_cpumask(plug_thread,
+                                                     cpu_possible_mask);
+}
+
 void smpboot_unregister_percpu_thread(struct smp_hotplug_thread *plug_thread);
 int smpboot_update_cpumask_percpu_thread(struct smp_hotplug_thread *plug_thread,
                                         const struct cpumask *);