summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/bfin/rtems/score
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-21 10:06:36 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-21 10:06:36 +0100
commitc6f446bd702f6bdc469c7ed3a0e2b86cb9810032 (patch)
treecd0f3c5d4ce4c703f06d1b518ce7237909f1f355 /cpukit/score/cpu/bfin/rtems/score
parentscore: Optimize self-contained objects (diff)
downloadrtems-c6f446bd702f6bdc469c7ed3a0e2b86cb9810032.tar.bz2
bfin: ASM compatibility for <rtems/score/cpu.h>
Close #2817.
Diffstat (limited to 'cpukit/score/cpu/bfin/rtems/score')
-rw-r--r--cpukit/score/cpu/bfin/rtems/score/cpu.h4
1 files changed, 2 insertions, 2 deletions
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.