summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sh
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/sh
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/sh')
-rw-r--r--cpukit/score/cpu/sh/ChangeLog4
-rw-r--r--cpukit/score/cpu/sh/cpu.c2
-rw-r--r--cpukit/score/cpu/sh/rtems/score/cpu.h2
3 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/score/cpu/sh/ChangeLog b/cpukit/score/cpu/sh/ChangeLog
index c884c71720..559a2ebe6e 100644
--- a/cpukit/score/cpu/sh/ChangeLog
+++ b/cpukit/score/cpu/sh/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/sh/cpu.c b/cpukit/score/cpu/sh/cpu.c
index 9c2c48cd06..c582c07a09 100644
--- a/cpukit/score/cpu/sh/cpu.c
+++ b/cpukit/score/cpu/sh/cpu.c
@@ -206,7 +206,7 @@ void _CPU_ISR_install_vector(
*/
#if (CPU_PROVIDES_IDLE_THREAD_BODY == TRUE)
-void _CPU_Thread_Idle_body( void )
+void *_CPU_Thread_Idle_body( uint32_t ignored )
{
for( ; ; )
diff --git a/cpukit/score/cpu/sh/rtems/score/cpu.h b/cpukit/score/cpu/sh/rtems/score/cpu.h
index 2294a57c6d..6eb4c4e6dc 100644
--- a/cpukit/score/cpu/sh/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sh/rtems/score/cpu.h
@@ -874,7 +874,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