diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-20 15:07:33 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-21 09:07:37 +0200 |
commit | 2cfbf23a1f8d04cc41f4f80dbc9cb6baaf8f77ed (patch) | |
tree | c242188bf08144d8a5ab7d1e6120b362cfe240ca /cpukit | |
parent | smp: Disable restart of threads other than self (diff) | |
download | rtems-2cfbf23a1f8d04cc41f4f80dbc9cb6baaf8f77ed.tar.bz2 |
smp: Delete RTEMS_BSP_SMP_SIGNAL_TO_SELF
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/score/include/rtems/score/smp.h | 7 | ||||
-rw-r--r-- | 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 2c2b46ab32..2fd915022f 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 c254631048..e2cd546ed2 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 ); |