[PATCH 2/2] powerpc: change topology_init() to a subsys_initcall
Kevin Corry
kevcorry at us.ibm.com
Thu May 3 03:11:49 EST 2007
Change the powerpc version of topology_init() from an __initcall to
a subsys_initcall to match all other architectures.
Signed-off-by: Kevin Corry <kevcorry at us.ibm.com>
Index: linux-2.6.21/arch/powerpc/kernel/sysfs.c
===================================================================
--- linux-2.6.21.orig/arch/powerpc/kernel/sysfs.c
+++ linux-2.6.21/arch/powerpc/kernel/sysfs.c
@@ -498,4 +498,4 @@ static int __init topology_init(void)
return 0;
}
-__initcall(topology_init);
+subsys_initcall(topology_init);
More information about the Linuxppc-dev
mailing list