From 3c87adba3fe1c912ae0115d12d9d1ced9c3faf5d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 31 Jul 2008 14:55:56 +0000 Subject: 2008-07-31 Joel Sherrill * cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads. --- cpukit/score/cpu/unix/ChangeLog | 4 ++++ cpukit/score/cpu/unix/cpu.c | 2 +- cpukit/score/cpu/unix/rtems/score/cpu.h | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'cpukit/score/cpu/unix') diff --git a/cpukit/score/cpu/unix/ChangeLog b/cpukit/score/cpu/unix/ChangeLog index 571f638759..03721017b9 100644 --- a/cpukit/score/cpu/unix/ChangeLog +++ b/cpukit/score/cpu/unix/ChangeLog @@ -1,3 +1,7 @@ +2008-07-31 Joel Sherrill + + * cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads. + 2008-06-05 Joel Sherrill * rtems/score/cpu.h: Add CPU_SIMPLE_VECTORED_INTERRUPTS porting diff --git a/cpukit/score/cpu/unix/cpu.c b/cpukit/score/cpu/unix/cpu.c index d107b0dd71..7427c97c42 100644 --- a/cpukit/score/cpu/unix/cpu.c +++ b/cpukit/score/cpu/unix/cpu.c @@ -389,7 +389,7 @@ void _CPU_Install_interrupt_stack( void ) * CPU cycles which is again similar to low power mode. */ -void _CPU_Thread_Idle_body( void ) +void *_CPU_Thread_Idle_body( uint32_t ignored ) { #if CPU_SYNC_IO extern void _Thread_Dispatch(void); diff --git a/cpukit/score/cpu/unix/rtems/score/cpu.h b/cpukit/score/cpu/unix/rtems/score/cpu.h index 925bc8e5f4..6e4f8fefc6 100644 --- a/cpukit/score/cpu/unix/rtems/score/cpu.h +++ b/cpukit/score/cpu/unix/rtems/score/cpu.h @@ -924,7 +924,7 @@ void _CPU_Install_interrupt_stack( void ); * is TRUE. */ -void _CPU_Thread_Idle_body( void ); +void *_CPU_Thread_Idle_body( uint32_t ); /* * _CPU_Context_switch -- cgit v1.2.3