From cca8379862a8fadbccf3f7f8e591659543c56375 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 12 Feb 2009 15:55:55 +0000 Subject: 2009-02-12 Joel Sherrill * cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument. --- cpukit/score/cpu/bfin/cpu.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cpukit/score/cpu/bfin/cpu.c') diff --git a/cpukit/score/cpu/bfin/cpu.c b/cpukit/score/cpu/bfin/cpu.c index ddb4bccf46..47170850b7 100644 --- a/cpukit/score/cpu/bfin/cpu.c +++ b/cpukit/score/cpu/bfin/cpu.c @@ -165,11 +165,11 @@ void _CPU_ISR_install_vector( } #if (CPU_PROVIDES_IDLE_THREAD_BODY == TRUE) -void *_CPU_Thread_Idle_body(uint32_t ignored) { - - while (1) { - __asm__ __volatile__("ssync; idle; ssync"); - } +void *_CPU_Thread_Idle_body(uint32_t ignored) +{ + while (1) { + __asm__ __volatile__("ssync; idle; ssync"); + } } #endif -- cgit v1.2.3