[PATCH 4/6] smp: Rename _CPU_Processor_event_broadcast()

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jun 14 14:31:59 UTC 2013


Rename to _CPU_SMP_Processor_event_broadcast().
---
 cpukit/score/cpu/arm/rtems/score/cpu.h     |    2 +-
 cpukit/score/cpu/i386/rtems/score/cpu.h    |    2 +-
 cpukit/score/cpu/no_cpu/rtems/score/cpu.h  |    4 ++--
 cpukit/score/cpu/powerpc/rtems/score/cpu.h |    2 +-
 cpukit/score/cpu/sparc/rtems/score/cpu.h   |    2 +-
 cpukit/score/src/percpu.c                  |    2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h
index 519d486..08adb6b 100644
--- a/cpukit/score/cpu/arm/rtems/score/cpu.h
+++ b/cpukit/score/cpu/arm/rtems/score/cpu.h
@@ -479,7 +479,7 @@ void _CPU_Context_validate( uintptr_t pattern );
     __asm__ volatile ( "wfe" : : : "memory" );
   }
 
-  static inline void _CPU_Processor_event_broadcast( void )
+  static inline void _CPU_SMP_Processor_event_broadcast( void )
   {
     _ARM_Data_synchronization_barrier();
     _ARM_Send_event();
diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h
index 092ba99..4ecd186 100644
--- a/cpukit/score/cpu/i386/rtems/score/cpu.h
+++ b/cpukit/score/cpu/i386/rtems/score/cpu.h
@@ -459,7 +459,7 @@ uint32_t   _CPU_ISR_Get_level( void );
 
   void _CPU_SMP_Send_interrupt( uint32_t target_processor_index );
 
-  static inline void _CPU_Processor_event_broadcast( void )
+  static inline void _CPU_SMP_Processor_event_broadcast( void )
   {
     __asm__ volatile ( "" : : : "memory" );
   }
diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
index dc48d2b..2c697a8 100644
--- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
+++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
@@ -1437,7 +1437,7 @@ static inline uint32_t CPU_swap_u32(
    *
    * @see _CPU_Processor_event_receive().
    */
-  static inline void _CPU_Processor_event_broadcast( void )
+  static inline void _CPU_SMP_Processor_event_broadcast( void )
   {
     __asm__ volatile ( "" : : : "memory" );
   }
@@ -1448,7 +1448,7 @@ static inline uint32_t CPU_swap_u32(
    * This function will wait for the processor event and may wait forever if no
    * such event arrives.
    *
-   * @see _CPU_Processor_event_broadcast().
+   * @see _CPU_SMP_Processor_event_broadcast().
    */
   static inline void _CPU_Processor_event_receive( void )
   {
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
index 759f9dd..efa1f0d 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
@@ -1016,7 +1016,7 @@ void _CPU_Context_validate( uintptr_t pattern );
 
   void _CPU_SMP_Send_interrupt( uint32_t target_processor_index );
 
-  static inline void _CPU_Processor_event_broadcast( void )
+  static inline void _CPU_SMP_Processor_event_broadcast( void )
   {
     __asm__ volatile ( "" : : : "memory" );
   }
diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h
index 8ba7a41..21910ed 100644
--- a/cpukit/score/cpu/sparc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h
@@ -1190,7 +1190,7 @@ void _CPU_Context_restore(
 
   void _CPU_SMP_Send_interrupt( uint32_t target_processor_index );
 
-  static inline void _CPU_Processor_event_broadcast( void )
+  static inline void _CPU_SMP_Processor_event_broadcast( void )
   {
     __asm__ volatile ( "" : : : "memory" );
   }
diff --git a/cpukit/score/src/percpu.c b/cpukit/score/src/percpu.c
index a957053..3e51bda 100644
--- a/cpukit/score/src/percpu.c
+++ b/cpukit/score/src/percpu.c
@@ -79,7 +79,7 @@
   )
   {
     per_cpu->state = new_state;
-    _CPU_Processor_event_broadcast();
+    _CPU_SMP_Processor_event_broadcast();
   }
 
   void _Per_CPU_Wait_for_state(
-- 
1.7.7




More information about the devel mailing list