summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/unix
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-07-31 14:55:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-07-31 14:55:56 +0000
commit3c87adba3fe1c912ae0115d12d9d1ced9c3faf5d (patch)
treea41fa6732ac16080ac0097611b7d161d8983130b /cpukit/score/cpu/unix
parent2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-3c87adba3fe1c912ae0115d12d9d1ced9c3faf5d.tar.bz2
2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads.
Diffstat (limited to 'cpukit/score/cpu/unix')
-rw-r--r--cpukit/score/cpu/unix/ChangeLog4
-rw-r--r--cpukit/score/cpu/unix/cpu.c2
-rw-r--r--cpukit/score/cpu/unix/rtems/score/cpu.h2
3 files changed, 6 insertions, 2 deletions
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 <joel.sherrill@OARcorp.com>
+
+ * cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads.
+
2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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