From 07f6e4193e20d2fb2f41a53878bf95f902bf871b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 13 Jun 2013 16:00:54 +0200 Subject: smp: Rename _CPU_Processor_event_broadcast() 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(-) (limited to 'cpukit/score') diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h index 519d486b12..08adb6bf4f 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 092ba995d3..4ecd186c40 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 dc48d2bbc8..2c697a8323 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 17f2d39ce0..119dff2a73 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 8ba7a41044..21910ed325 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 a957053e18..3e51bda62f 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( -- cgit v1.2.3