summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/percpu.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-04-11 11:48:18 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-04-12 09:12:03 +0200
commit5ca8190b9603dc02e9cc22584bbceb8c0acea6ad (patch)
tree04b992cc08e42f9d7f99fac6d2b19c95a4636cc4 /cpukit/include/rtems/score/percpu.h
parentad87de4a67d8ce7e75d0b844efc03b98c3ecda1a (diff)
downloadrtems-5ca8190b9603dc02e9cc22584bbceb8c0acea6ad.tar.bz2
score: Remove unused macros
Diffstat (limited to 'cpukit/include/rtems/score/percpu.h')
-rw-r--r--cpukit/include/rtems/score/percpu.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/cpukit/include/rtems/score/percpu.h b/cpukit/include/rtems/score/percpu.h
index 4ffefae292..8e33aaee4a 100644
--- a/cpukit/include/rtems/score/percpu.h
+++ b/cpukit/include/rtems/score/percpu.h
@@ -567,34 +567,6 @@ extern Per_CPU_Control_envelope _Per_CPU_Information[] CPU_STRUCTURE_ALIGNMENT;
#endif
#if defined( RTEMS_SMP )
-#define _Per_CPU_ISR_disable_and_acquire( cpu, isr_cookie ) \
- do { \
- _ISR_Local_disable( isr_cookie ); \
- _Per_CPU_Acquire( cpu ); \
- } while ( 0 )
-#else
-#define _Per_CPU_ISR_disable_and_acquire( cpu, isr_cookie ) \
- do { \
- _ISR_Local_disable( isr_cookie ); \
- (void) ( cpu ); \
- } while ( 0 )
-#endif
-
-#if defined( RTEMS_SMP )
-#define _Per_CPU_Release_and_ISR_enable( cpu, isr_cookie ) \
- do { \
- _Per_CPU_Release( cpu ); \
- _ISR_Local_enable( isr_cookie ); \
- } while ( 0 )
-#else
-#define _Per_CPU_Release_and_ISR_enable( cpu, isr_cookie ) \
- do { \
- (void) ( cpu ); \
- _ISR_Local_enable( isr_cookie ); \
- } while ( 0 )
-#endif
-
-#if defined( RTEMS_SMP )
#define _Per_CPU_Acquire_all( isr_cookie ) \
do { \
uint32_t ncpus = _SMP_Get_processor_maximum(); \