]> Pileus Git - ~andy/linux/blobdiff - Documentation/cpu-hotplug.txt
MAINTAINERS: update Zwane Mwaikambo's e-mail address
[~andy/linux] / Documentation / cpu-hotplug.txt
index edd4b4df393202ac99b27269966b0ab15c44fff0..8cb9938cc47e8c0e3d0202786bd9c434f96cbd4d 100644 (file)
@@ -5,7 +5,7 @@
                        Rusty Russell <rusty@rustcorp.com.au>
                        Srivatsa Vaddagiri <vatsa@in.ibm.com>
                i386:
-                       Zwane Mwaikambo <zwane@arm.linux.org.uk>
+                       Zwane Mwaikambo <zwanem@gmail.com>
                ppc64:
                        Nathan Lynch <nathanl@austin.ibm.com>
                        Joel Schopp <jschopp@austin.ibm.com>
@@ -267,8 +267,8 @@ Q: If i have some kernel code that needs to be aware of CPU arrival and
 A: This is what you would need in your kernel code to receive notifications.
 
        #include <linux/cpu.h>
-       static int __cpuinit foobar_cpu_callback(struct notifier_block *nfb,
-                                           unsigned long action, void *hcpu)
+       static int foobar_cpu_callback(struct notifier_block *nfb,
+                                      unsigned long action, void *hcpu)
        {
                unsigned int cpu = (unsigned long)hcpu;
 
@@ -285,7 +285,7 @@ A: This is what you would need in your kernel code to receive notifications.
                return NOTIFY_OK;
        }
 
-       static struct notifier_block __cpuinitdata foobar_cpu_notifer =
+       static struct notifier_block foobar_cpu_notifer =
        {
           .notifier_call = foobar_cpu_callback,
        };