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] Fix build for older gcc versions.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix build for older gcc versions.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Fri, 29 Apr 2005 08:17:13 +0000
Delivery-date: Fri, 29 Apr 2005 09:04:19 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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 Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1400, 2005/04/29 09:17:13+01:00, kaf24@xxxxxxxxxxxxxxxxxxxxx

        Fix build for older gcc versions.
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 domain.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff -Nru a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c     2005-04-29 05:04:39 -04:00
+++ b/xen/arch/x86/domain.c     2005-04-29 05:04:39 -04:00
@@ -69,7 +69,7 @@
         local_irq_enable();
 }
 
-static __attribute_used__ void idle_loop(void)
+void idle_loop(void)
 {
     int cpu = smp_processor_id();
     for ( ; ; )
@@ -91,7 +91,7 @@
 
     /* Start normal idle loop. */
     ed->arch.schedule_tail = continue_idle_task;
-    reset_stack_and_jump(idle_loop);
+    continue_idle_task(ed);
 }
 
 void startup_cpu_idle_loop(void)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix build for older gcc versions., BitKeeper Bot <=