summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-08 13:52:00 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-09 16:14:16 -0500
commit2a11a46fd154d5b6207afa0d4bba9d891e1bd650 (patch)
treeb571f349ba95ee159ed9d2a1c9e25c1d9d35c185
parent867a54a276d33e7e88da030c3fd7146fad53a89c (diff)
downloadrtems-2a11a46fd154d5b6207afa0d4bba9d891e1bd650.tar.bz2
or1k: Correct _CPU_Thread_Idle_body prototype
-rw-r--r--cpukit/score/cpu/or1k/cpu.c2
-rw-r--r--cpukit/score/cpu/or1k/rtems/score/cpu.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/or1k/cpu.c b/cpukit/score/cpu/or1k/cpu.c
index c81aa1e8a8..cd89f55751 100644
--- a/cpukit/score/cpu/or1k/cpu.c
+++ b/cpukit/score/cpu/or1k/cpu.c
@@ -109,7 +109,7 @@ void _CPU_Install_interrupt_stack( void )
{
}
-void _CPU_Thread_Idle_body( void )
+void *_CPU_Thread_Idle_body( uintptr_t ignored )
{
do {
_OR1K_CPU_Sleep();
diff --git a/cpukit/score/cpu/or1k/rtems/score/cpu.h b/cpukit/score/cpu/or1k/rtems/score/cpu.h
index 7c6dfdac83..d7b7093842 100644
--- a/cpukit/score/cpu/or1k/rtems/score/cpu.h
+++ b/cpukit/score/cpu/or1k/rtems/score/cpu.h
@@ -919,7 +919,7 @@ void _CPU_Install_interrupt_stack( void );
*
*/
-void _CPU_Thread_Idle_body( void );
+void *_CPU_Thread_Idle_body( uintptr_t ignored );
/*
* _CPU_Context_switch