[PATCH 05/15] or1k: Correct _CPU_Thread_Idle_body prototype

Joel Sherrill joel.sherrill at oarcorp.com
Mon Mar 9 17:38:45 UTC 2015


---
 cpukit/score/cpu/or1k/cpu.c             | 2 +-
 cpukit/score/cpu/or1k/rtems/score/cpu.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpukit/score/cpu/or1k/cpu.c b/cpukit/score/cpu/or1k/cpu.c
index c81aa1e..cd89f55 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 7c6dfda..d7b7093 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
-- 
1.9.3




More information about the devel mailing list