smp: Delete RTEMS_BSP_SMP_SIGNAL_TO_SELF

This commit is contained in:
Sebastian Huber
2013-08-20 15:07:33 +02:00
parent 518d82b6d3
commit 2cfbf23a1f
2 changed files with 0 additions and 14 deletions

View File

@@ -34,13 +34,6 @@ extern "C" {
* @{
*/
/**
* This defines the bit which indicates the interprocessor interrupt
* has been requested so that RTEMS will reschedule on this CPU
* because the currently executing thread has been sent a signal.
*/
#define RTEMS_BSP_SMP_SIGNAL_TO_SELF 0x02
/**
* This defines the bit which indicates the interprocessor interrupt
* has been requested so that this CPU will be shutdown. This is done

View File

@@ -68,8 +68,6 @@ void rtems_smp_process_interrupt( void )
message,
sp
);
if ( message & RTEMS_BSP_SMP_SIGNAL_TO_SELF )
printk( "signal to self\n" );
if ( message & RTEMS_BSP_SMP_SHUTDOWN )
printk( "shutdown\n" );
}
@@ -95,11 +93,6 @@ void _SMP_Send_message( uint32_t cpu, uint32_t message )
Per_CPU_Control *per_cpu = _Per_CPU_Get_by_index( cpu );
ISR_Level level;
#if defined(RTEMS_DEBUG)
if ( message & RTEMS_BSP_SMP_SIGNAL_TO_SELF )
printk( "Send 0x%x to %d\n", message, cpu );
#endif
_Per_CPU_ISR_disable_and_acquire( per_cpu, level );
per_cpu->message |= message;
_Per_CPU_Release_and_ISR_enable( per_cpu, level );