diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-18 17:15:51 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-18 17:15:51 +0000 |
commit | 534c8936341e980afc4104471e19819e32379df2 (patch) | |
tree | 128a15a2a3efadc2156be37a209390b4fff3f2eb /c/src/libchip/shmdr/send.c | |
parent | 2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-534c8936341e980afc4104471e19819e32379df2.tar.bz2 |
2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/shmdr/dump.c, libchip/shmdr/init.c, libchip/shmdr/send.c,
libchip/shmdr/shm_driver.h: Cleanup and remove variables which
duplicated data.
Diffstat (limited to 'c/src/libchip/shmdr/send.c')
-rw-r--r-- | c/src/libchip/shmdr/send.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/libchip/shmdr/send.c b/c/src/libchip/shmdr/send.c index bdfd272b32..d28c6bfeb3 100644 --- a/c/src/libchip/shmdr/send.c +++ b/c/src/libchip/shmdr/send.c @@ -44,8 +44,8 @@ rtems_mpci_entry Shm_Send_packet( (*Shm_Configuration->cause_intr)( node ); } else { - for( nnum = SHM_FIRST_NODE ; nnum <= Shm_Maximum_nodes ; nnum++ ) - if ( Shm_Local_node != nnum ) { + for( nnum = SHM_FIRST_NODE ; nnum <= SHM_MAXIMUM_NODES ; nnum++ ) + if ( _Configuration_MP_table->node != nnum ) { tmp_ecb = Shm_Allocate_envelope(); if ( !tmp_ecb ) rtems_fatal_error_occurred( SHM_NO_FREE_PKTS ); |