no_bsp/shmsupp/lock.c: Remove rtems_bsp_delay()

This commit is contained in:
Joel Sherrill
2014-03-17 13:25:48 -05:00
parent 8d6879147b
commit 82e507e3e8

View File

@@ -57,10 +57,12 @@ void Shm_Lock(
);
/*
* If not available, then may want to delay to reduce load on lock.
*
* NOTE: BSP must initialize the counter facility. Delay value is BSP
* dependent.
*/
if ( lock_value )
rtems_bsp_delay( 10 ); /* approximately 10 microseconds */
rtems_counter_delay_nanoseconds( 100 );
}
}