Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wait_for_resource_loaded: don't needlessly sleep for 5ms
We would needlessly time_wait_ms_nopoll(5) if opal_run_pollers() managed to crank things enough to load the requested resource. Instead of needlessly sleeping, check the result of resource_loaded() *before* going to sleep for a bit. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
- Loading branch information