linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / base / topology.c
index 3ef9d51..915810f 100644 (file)
@@ -125,7 +125,7 @@ static int __cpuinit topology_cpu_callback(struct notifier_block *nfb,
        return NOTIFY_OK;
 }
 
-static struct notifier_block __cpuinitdata topology_cpu_notifier =
+static struct notifier_block topology_cpu_notifier =
 {
        .notifier_call = topology_cpu_callback,
 };
@@ -139,7 +139,7 @@ static int __cpuinit topology_sysfs_init(void)
                                (void *)(long)i);
        }
 
-       register_hotcpu_notifier(&topology_cpu_notifier);
+       register_cpu_notifier(&topology_cpu_notifier);
 
        return 0;
 }