From 8776bb94197613a369b47b3adf4b2d4e0ba766ed Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 26 Sep 2018 06:34:54 +0200 Subject: score: Remove CPU_PROVIDES_IDLE_THREAD_BODY Remove the CPU_PROVIDES_IDLE_THREAD_BODY option to avoid unnecessary conditional compilation. Close #3539. --- cpukit/score/cpu/bfin/cpu.c | 2 -- 1 file changed, 2 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 00d0f21b41..0771b4b3cd 100644 --- a/cpukit/score/cpu/bfin/cpu.c +++ b/cpukit/score/cpu/bfin/cpu.c @@ -168,14 +168,12 @@ void _CPU_ISR_install_vector( _CPU_ISR_install_raw_handler( vector, _ISR_Handler, &ignored ); } -#if (CPU_PROVIDES_IDLE_THREAD_BODY == TRUE) void *_CPU_Thread_Idle_body(uintptr_t ignored) { while (1) { __asm__ __volatile__("ssync; idle; ssync"); } } -#endif /* * Copied from the arm port. -- cgit v1.2.3