]> Pileus Git - ~andy/linux/blobdiff - arch/powerpc/mm/numa.c
powerpc: Delete __cpuinit usage from all users
[~andy/linux] / arch / powerpc / mm / numa.c
index 88c0425dc0a88f41f61c38b4d01888ec468a937c..c792cd95e792e724c17871e6628204a24803ec74 100644 (file)
@@ -516,7 +516,7 @@ static int of_drconf_to_nid_single(struct of_drconf_cell *drmem,
  * Figure out to which domain a cpu belongs and stick it there.
  * Return the id of the domain used.
  */
-static int __cpuinit numa_setup_cpu(unsigned long lcpu)
+static int numa_setup_cpu(unsigned long lcpu)
 {
        int nid = 0;
        struct device_node *cpu = of_get_cpu_node(lcpu, NULL);
@@ -538,8 +538,7 @@ out:
        return nid;
 }
 
-static int __cpuinit cpu_numa_callback(struct notifier_block *nfb,
-                            unsigned long action,
+static int cpu_numa_callback(struct notifier_block *nfb, unsigned long action,
                             void *hcpu)
 {
        unsigned long lcpu = (unsigned long)hcpu;
@@ -919,7 +918,7 @@ static void __init *careful_zallocation(int nid, unsigned long size,
        return ret;
 }
 
-static struct notifier_block __cpuinitdata ppc64_numa_nb = {
+static struct notifier_block ppc64_numa_nb = {
        .notifier_call = cpu_numa_callback,
        .priority = 1 /* Must run before sched domains notifier. */
 };