From c6f446bd702f6bdc469c7ed3a0e2b86cb9810032 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 21 Nov 2016 10:06:36 +0100 Subject: bfin: ASM compatibility for Close #2817. --- cpukit/score/cpu/bfin/rtems/score/cpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/score/cpu/bfin/rtems/score') diff --git a/cpukit/score/cpu/bfin/rtems/score/cpu.h b/cpukit/score/cpu/bfin/rtems/score/cpu.h index 85dbf780ce..3be10a6b71 100644 --- a/cpukit/score/cpu/bfin/rtems/score/cpu.h +++ b/cpukit/score/cpu/bfin/rtems/score/cpu.h @@ -601,6 +601,8 @@ typedef struct { */ #define CPU_STACK_ALIGNMENT 8 +#ifndef ASM + /* * ISR handler macros */ @@ -692,8 +694,6 @@ RTEMS_INLINE_ROUTINE bool _CPU_ISR_Is_enabled( uint32_t level ) __asm__ __volatile__ ( "sti %0; csync" : : "d"(_new_level ? 0 : 0xffff) ); \ } -#ifndef ASM - /** * Return the current interrupt disable level for this task in * the format used by the interrupt level portion of the task mode. -- cgit v1.2.3