aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2016-07-02 21:03:43 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-07-21 16:36:48 +1000
commita6d4a7884e95cb9c918b8a217c11e46b01218358 (patch)
tree5b4eaa698309b47de722b7d1f16667dd846fcb54 /hw
parente7c8cba4ad773055f390632c2996d3242b633bf4 (diff)
downloadskiboot-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.c5
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);