[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [POWERPC] Take all secondary processors offline after they are enumerated
# HG changeset patch # User Jimi Xenidis <jimix@xxxxxxxxxxxxxx> # Node ID 05b2b8b61cca596025ffe1ce6dc4ee7436603d5b # Parent 1ef82dd7f66b05e02aa5b9d0d6e55b2fc5f00db9 [POWERPC] Take all secondary processors offline after they are enumerated Xen assumes that an online CPU is a schedualable CPU, but we just are not there yet. Remove this fragment when scheduling processors actually works. Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx> Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx> --- xen/arch/powerpc/setup.c | 15 +++++++++++++++ 1 files changed, 15 insertions(+) diff -r 1ef82dd7f66b -r 05b2b8b61cca xen/arch/powerpc/setup.c --- a/xen/arch/powerpc/setup.c Tue Aug 22 09:53:34 2006 -0400 +++ b/xen/arch/powerpc/setup.c Tue Aug 22 11:16:01 2006 -0400 @@ -181,6 +181,21 @@ static void __init start_of_day(void) percpu_free_unused_areas(); + { + /* FIXME: Xen assumes that an online CPU is a schedualable + * CPU, but we just are not there yet. Remove this fragment when + * scheduling processors actually works. */ + int cpuid; + + printk("WARNING!: Taking all secondary CPUs offline\n"); + + for_each_online_cpu(cpuid) { + if (cpuid == 0) + continue; + cpu_clear(cpuid, cpu_online_map); + } + } + initialize_keytable(); /* Register another key that will allow for the the Harware Probe * to be contacted, this works with RiscWatch probes and should _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |