aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/sysfs.c')
-rw-r--r--arch/powerpc/kernel/sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/sysfs.c b/arch/powerpc/kernel/sysfs.c
index 1d724aef438a..ae927a4e46e4 100644
--- a/arch/powerpc/kernel/sysfs.c
+++ b/arch/powerpc/kernel/sysfs.c
@@ -277,7 +277,7 @@ static void unregister_cpu_online(unsigned int cpu)
277} 277}
278#endif /* CONFIG_HOTPLUG_CPU */ 278#endif /* CONFIG_HOTPLUG_CPU */
279 279
280static int __devinit sysfs_cpu_notify(struct notifier_block *self, 280static int __cpuinit sysfs_cpu_notify(struct notifier_block *self,
281 unsigned long action, void *hcpu) 281 unsigned long action, void *hcpu)
282{ 282{
283 unsigned int cpu = (unsigned int)(long)hcpu; 283 unsigned int cpu = (unsigned int)(long)hcpu;
@@ -295,7 +295,7 @@ static int __devinit sysfs_cpu_notify(struct notifier_block *self,
295 return NOTIFY_OK; 295 return NOTIFY_OK;
296} 296}
297 297
298static struct notifier_block __devinitdata sysfs_cpu_nb = { 298static struct notifier_block __cpuinitdata sysfs_cpu_nb = {
299 .notifier_call = sysfs_cpu_notify, 299 .notifier_call = sysfs_cpu_notify,
300}; 300};
301 301