[PATCH 5/6] smp: Rename _CPU_Processor_event_receive()
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Jun 14 14:32:00 UTC 2013
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 efa1f0d..2069c22 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
--
1.7.7
More information about the devel
mailing list