direct-io.hg

changeset 12967:dbc7ea73f5b2

[XEN][POWERPC] secondary_cpu_init() does not return.
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Tue Nov 28 16:43:53 2006 -0500 (2006-11-28)
parents 768bf8f273fb
children 21ce7e75b815
files xen/arch/powerpc/exceptions.h xen/arch/powerpc/setup.c
line diff
     1.1 --- a/xen/arch/powerpc/exceptions.h	Tue Nov 28 10:33:53 2006 -0500
     1.2 +++ b/xen/arch/powerpc/exceptions.h	Tue Nov 28 16:43:53 2006 -0500
     1.3 @@ -52,5 +52,5 @@ extern ulong *__hypercall_table[];
     1.4  extern char exception_vectors[];
     1.5  extern char exception_vectors_end[];
     1.6  extern int spin_start[];
     1.7 -extern int secondary_cpu_init(int cpuid, unsigned long r4);
     1.8 +extern void secondary_cpu_init(int cpuid, unsigned long r4);
     1.9  #endif
     2.1 --- a/xen/arch/powerpc/setup.c	Tue Nov 28 10:33:53 2006 -0500
     2.2 +++ b/xen/arch/powerpc/setup.c	Tue Nov 28 16:43:53 2006 -0500
     2.3 @@ -256,7 +256,7 @@ static int kick_secondary_cpus(int maxcp
     2.4  }
     2.5  
     2.6  /* This is the first C code that secondary processors invoke.  */
     2.7 -int secondary_cpu_init(int cpuid, unsigned long r4)
     2.8 +void secondary_cpu_init(int cpuid, unsigned long r4)
     2.9  {
    2.10      struct vcpu *vcpu;
    2.11  
    2.12 @@ -274,7 +274,7 @@ int secondary_cpu_init(int cpuid, unsign
    2.13      idle_vcpu[cpuid] = current;
    2.14      startup_cpu_idle_loop();
    2.15  
    2.16 -    while(1);
    2.17 +    panic("should never get here\n");
    2.18  }
    2.19  
    2.20  static void __init __start_xen(multiboot_info_t *mbi)