# HG changeset patch # User kaf24@firebug.cl.cam.ac.uk # Date 1132050481 -3600 # Node ID 312e3f18bd6cfda751b16982524a69bb726b60fa # Parent ed2ef64fdc3367e591d148316c948bd9669b40a6 Initialise secondary CPUs via an arch_initcall rather than a subsys_initcall. This ensures that initialisation occurs before topology_init(). Signed-off-by: Keir Fraser diff -r ed2ef64fdc33 -r 312e3f18bd6c linux-2.6-xen-sparse/arch/xen/kernel/smpboot.c --- a/linux-2.6-xen-sparse/arch/xen/kernel/smpboot.c Mon Nov 14 19:55:40 2005 +0100 +++ b/linux-2.6-xen-sparse/arch/xen/kernel/smpboot.c Tue Nov 15 11:28:01 2005 +0100 @@ -344,7 +344,7 @@ static int __init setup_vcpu_hotplug_eve return 0; } -subsys_initcall(setup_vcpu_hotplug_event); +arch_initcall(setup_vcpu_hotplug_event); int __cpu_disable(void) {