[rtems commit] smp: Delete RTEMS_BSP_SMP_SIGNAL_TO_SELF

Sebastian Huber sebh at rtems.org
Wed Aug 21 07:01:51 UTC 2013


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Aug 20 15:07:33 2013 +0200

smp: Delete RTEMS_BSP_SMP_SIGNAL_TO_SELF

---

 cpukit/score/include/rtems/score/smp.h |    7 -------
 cpukit/score/src/smp.c                 |    7 -------
 2 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/cpukit/score/include/rtems/score/smp.h b/cpukit/score/include/rtems/score/smp.h
index 2c2b46a..2fd9150 100644
--- a/cpukit/score/include/rtems/score/smp.h
+++ b/cpukit/score/include/rtems/score/smp.h
@@ -36,13 +36,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
  *  as part of rtems_executive_shutdown().
  */
diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c
index c254631..e2cd546 100644
--- a/cpukit/score/src/smp.c
+++ b/cpukit/score/src/smp.c
@@ -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 );




More information about the vc mailing list