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:36:48 +1000 |
commit | a6d4a7884e95cb9c918b8a217c11e46b01218358 (patch) | |
tree | 5b4eaa698309b47de722b7d1f16667dd846fcb54 /hw | |
parent | e7c8cba4ad773055f390632c2996d3242b633bf4 (diff) | |
download | skiboot-a6d4a7884e95cb9c918b8a217c11e46b01218358.zip skiboot-a6d4a7884e95cb9c918b8a217c11e46b01218358.tar.gz skiboot-a6d4a7884e95cb9c918b8a217c11e46b01218358.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>
Diffstat (limited to 'hw')
-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 b78bc20..f38c236 100644 --- a/hw/fsp/fsp-elog-write.c +++ b/hw/fsp/fsp-elog-write.c @@ -262,11 +262,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); |