[PATCH 1/6] score: Remove unused macros

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Apr 11 13:45:35 UTC 2019


---
 cpukit/include/rtems/score/percpu.h | 28 ----------------------------
 1 file changed, 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
@@ -566,34 +566,6 @@ extern Per_CPU_Control_envelope _Per_CPU_Information[] CPU_STRUCTURE_ALIGNMENT;
   } while ( 0 )
 #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 { \
-- 
2.16.4



More information about the devel mailing list