diff options
author | Aaron Durbin <adurbin@chromium.org> | 2017-06-15 08:47:04 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-06-16 18:14:43 +0200 |
commit | 046848ce1f3f496cde499e12262ba19cec88b2d6 (patch) | |
tree | 8012584cba678e4722c5ae7a0d794ddd489cb9d9 /3rdparty | |
parent | a677feca88f7b439f238c293a754f6baf0aa93e4 (diff) |
cpu/x86/mp_init: report correct count of AP acceptance
The previous implementation was using a for loop. By it's
very definition the last statement in the for loop declaration
is done at the end of the loop. Therefore, if the conditional for
breaking out of the for loop because of a timeout would always
see a value of 0 for the number of APs accepted. Correct this
by changing to a while loop with an explicit timeout condition
at the end of the loop.
Change-Id: I503953c46c2a65f7e264ed49c94c0a46d6c41c57
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/20225
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to '3rdparty')
0 files changed, 0 insertions, 0 deletions