[rtems commit] smp: Rename _CPU_Processor_event_receive()

Sebastian Huber sebh at rtems.org
Wed Jul 17 11:05:28 UTC 2013


Module:    rtems
Branch:    master
Commit:    f7740e97a2ae17ed1cd092f38d07f75d6eeaa069
Changeset: http://git.rtems.org/rtems/commit/?id=f7740e97a2ae17ed1cd092f38d07f75d6eeaa069

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Jun 13 16:05:20 2013 +0200

smp: Rename _CPU_Processor_event_receive()

Rename to _CPU_SMP_Processor_event_receive().

---

 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 08adb6b..602783e 100644
--- a/cpukit/score/cpu/arm/rtems/score/cpu.h
+++ b/cpukit/score/cpu/arm/rtems/score/cpu.h
@@ -485,7 +485,7 @@ void _CPU_Context_validate( uintptr_t pattern );
     _ARM_Send_event();
   }
 
-  static inline void _CPU_Processor_event_receive( void )
+  static inline void _CPU_SMP_Processor_event_receive( void )
   {
     _ARM_Wait_for_event();
     _ARM_Data_memory_barrier();
diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h
index 4ecd186..5bd14c3 100644
--- a/cpukit/score/cpu/i386/rtems/score/cpu.h
+++ b/cpukit/score/cpu/i386/rtems/score/cpu.h
@@ -464,7 +464,7 @@ uint32_t   _CPU_ISR_Get_level( void );
     __asm__ volatile ( "" : : : "memory" );
   }
 
-  static inline void _CPU_Processor_event_receive( void )
+  static inline void _CPU_SMP_Processor_event_receive( 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 2c697a8..0ffce81 100644
--- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
+++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
@@ -1435,7 +1435,7 @@ static inline uint32_t CPU_swap_u32(
    * transactions.  This function must ensure that preceding store operations
    * can be observed by other processors.
    *
-   * @see _CPU_Processor_event_receive().
+   * @see _CPU_SMP_Processor_event_receive().
    */
   static inline void _CPU_SMP_Processor_event_broadcast( void )
   {
@@ -1450,7 +1450,7 @@ static inline uint32_t CPU_swap_u32(
    *
    * @see _CPU_SMP_Processor_event_broadcast().
    */
-  static inline void _CPU_Processor_event_receive( void )
+  static inline void _CPU_SMP_Processor_event_receive( void )
   {
     __asm__ volatile ( "" : : : "memory" );
   }
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
index 119dff2..1ad56dc 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
@@ -1021,7 +1021,7 @@ void _CPU_Context_validate( uintptr_t pattern );
     __asm__ volatile ( "" : : : "memory" );
   }
 
-  static inline void _CPU_Processor_event_receive( void )
+  static inline void _CPU_SMP_Processor_event_receive( 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 21910ed..c0a8d0a 100644
--- a/cpukit/score/cpu/sparc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h
@@ -1195,7 +1195,7 @@ void _CPU_Context_restore(
     __asm__ volatile ( "" : : : "memory" );
   }
 
-  static inline void _CPU_Processor_event_receive( void )
+  static inline void _CPU_SMP_Processor_event_receive( void )
   {
     __asm__ volatile ( "" : : : "memory" );
   }
diff --git a/cpukit/score/src/percpu.c b/cpukit/score/src/percpu.c
index 3e51bda..85157db 100644
--- a/cpukit/score/src/percpu.c
+++ b/cpukit/score/src/percpu.c
@@ -88,7 +88,7 @@
   )
   {
     while ( per_cpu->state != desired_state ) {
-      _CPU_Processor_event_receive();
+      _CPU_SMP_Processor_event_receive();
     }
   }
 #else




More information about the vc mailing list