[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix build for older gcc versions.



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.