ia64/xen-unstable
changeset 4707:2ee7f247738e
bitkeeper revision 1.1389.1.11 (4271ed89U5mhUAOu2YJ7RzMMN68r6Q)
Fix build for older gcc versions.
Signed-off-by: Keir Fraser <keir@xensource.com>
Fix build for older gcc versions.
Signed-off-by: Keir Fraser <keir@xensource.com>
author | kaf24@scramble.cl.cam.ac.uk |
---|---|
date | Fri Apr 29 08:17:13 2005 +0000 (2005-04-29) |
parents | 75a775c40caf |
children | 604df558b783 |
files | xen/arch/x86/domain.c |
line diff
1.1 --- a/xen/arch/x86/domain.c Thu Apr 28 21:45:54 2005 +0000 1.2 +++ b/xen/arch/x86/domain.c Fri Apr 29 08:17:13 2005 +0000 1.3 @@ -69,7 +69,7 @@ static void default_idle(void) 1.4 local_irq_enable(); 1.5 } 1.6 1.7 -static __attribute_used__ void idle_loop(void) 1.8 +void idle_loop(void) 1.9 { 1.10 int cpu = smp_processor_id(); 1.11 for ( ; ; ) 1.12 @@ -91,7 +91,7 @@ static void __startup_cpu_idle_loop(stru 1.13 1.14 /* Start normal idle loop. */ 1.15 ed->arch.schedule_tail = continue_idle_task; 1.16 - reset_stack_and_jump(idle_loop); 1.17 + continue_idle_task(ed); 1.18 } 1.19 1.20 void startup_cpu_idle_loop(void)