diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2016-07-02 21:03:43 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-07-21 16:52:08 +1000 |
commit | 1e89e2d6f8ee1927bab453de49b1aa68e70aee66 (patch) | |
tree | e2a21dd106b12704ff5d4cc90ab8f836812c12d3 | |
parent | 4fc40fd2b9dd966d2163d1c77eb824b90139712a (diff) | |
download | skiboot-1e89e2d6f8ee1927bab453de49b1aa68e70aee66.zip skiboot-1e89e2d6f8ee1927bab453de49b1aa68e70aee66.tar.gz skiboot-1e89e2d6f8ee1927bab453de49b1aa68e70aee66.tar.bz2 |
FSP/ELOG: Fix OPAL generated elog resend logic
Fix resend logic in opal_resend_pending_logs, so that it actually
restarts sending remaining logs.
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
(cherry picked from commit a6d4a7884e95cb9c918b8a217c11e46b01218358)
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | hw/fsp/fsp-elog-write.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/fsp/fsp-elog-write.c b/hw/fsp/fsp-elog-write.c index 002d518..fd6ded2 100644 --- a/hw/fsp/fsp-elog-write.c +++ b/hw/fsp/fsp-elog-write.c @@ -256,11 +256,6 @@ void opal_resend_pending_logs(void) struct errorlog *record; lock(&elog_write_to_host_lock); - if (list_empty(&elog_write_to_host_processed)) { - unlock(&elog_write_to_host_lock); - return; - } - while (!list_empty(&elog_write_to_host_processed)) { record = list_pop(&elog_write_to_host_processed, struct errorlog, link); |