WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [XEN][POWERPC] secondary_cpu_init() does

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEN][POWERPC] secondary_cpu_init() does not return.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 13 Dec 2006 17:34:54 +0000
Delivery-date: Wed, 13 Dec 2006 09:39:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID dbc7ea73f5b2cdeaff3beb2129fe6e11ecf46019
# Parent  768bf8f273fb67ceb4351472b91c2bd7c82cbc62
[XEN][POWERPC] secondary_cpu_init() does not return.
Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/arch/powerpc/exceptions.h |    2 +-
 xen/arch/powerpc/setup.c      |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff -r 768bf8f273fb -r dbc7ea73f5b2 xen/arch/powerpc/exceptions.h
--- a/xen/arch/powerpc/exceptions.h     Tue Nov 28 10:33:53 2006 -0500
+++ b/xen/arch/powerpc/exceptions.h     Tue Nov 28 16:43:53 2006 -0500
@@ -52,5 +52,5 @@ extern char exception_vectors[];
 extern char exception_vectors[];
 extern char exception_vectors_end[];
 extern int spin_start[];
-extern int secondary_cpu_init(int cpuid, unsigned long r4);
+extern void secondary_cpu_init(int cpuid, unsigned long r4);
 #endif
diff -r 768bf8f273fb -r dbc7ea73f5b2 xen/arch/powerpc/setup.c
--- a/xen/arch/powerpc/setup.c  Tue Nov 28 10:33:53 2006 -0500
+++ b/xen/arch/powerpc/setup.c  Tue Nov 28 16:43:53 2006 -0500
@@ -256,7 +256,7 @@ static int kick_secondary_cpus(int maxcp
 }
 
 /* This is the first C code that secondary processors invoke.  */
-int secondary_cpu_init(int cpuid, unsigned long r4)
+void secondary_cpu_init(int cpuid, unsigned long r4)
 {
     struct vcpu *vcpu;
 
@@ -274,7 +274,7 @@ int secondary_cpu_init(int cpuid, unsign
     idle_vcpu[cpuid] = current;
     startup_cpu_idle_loop();
 
-    while(1);
+    panic("should never get here\n");
 }
 
 static void __init __start_xen(multiboot_info_t *mbi)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEN][POWERPC] secondary_cpu_init() does not return., Xen patchbot-unstable <=