[rtems commit] score/cpu/bfin/cpu.c: Fix _CPU_Thread_Idle_body() prototype

Joel Sherrill joel at rtems.org
Thu Aug 30 13:39:24 UTC 2018


Module:    rtems
Branch:    master
Commit:    bc6964829cb8926f4ac95e2f499ffe845bf5d9b6
Changeset: http://git.rtems.org/rtems/commit/?id=bc6964829cb8926f4ac95e2f499ffe845bf5d9b6

Author:    Joel Sherrill <joel at rtems.org>
Date:      Wed Aug 29 12:41:35 2018 -0500

score/cpu/bfin/cpu.c: Fix _CPU_Thread_Idle_body() prototype

---

 cpukit/score/cpu/bfin/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/cpu/bfin/cpu.c b/cpukit/score/cpu/bfin/cpu.c
index f5fb0c4..00d0f21 100644
--- a/cpukit/score/cpu/bfin/cpu.c
+++ b/cpukit/score/cpu/bfin/cpu.c
@@ -169,7 +169,7 @@ void _CPU_ISR_install_vector(
 }
 
 #if (CPU_PROVIDES_IDLE_THREAD_BODY == TRUE)
-void *_CPU_Thread_Idle_body(uint32_t ignored)
+void *_CPU_Thread_Idle_body(uintptr_t ignored)
 {
   while (1) {
     __asm__ __volatile__("ssync; idle; ssync");



More information about the vc mailing list