diff options
author | Andrew Jeffery <andrewrj@au1.ibm.com> | 2018-10-09 21:59:38 -0700 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-10-12 09:54:35 -0500 |
commit | 03ec024db41d0e0f844ee08eaebae2a24f51faa9 (patch) | |
tree | 10f0fcefd4955660dcadbb14596903c4ddabfba8 /src/usr/errl/errlmanager.C | |
parent | 14d96c84c0a017dd73ffd2db86b65be78bcb6623 (diff) | |
download | talos-hostboot-03ec024db41d0e0f844ee08eaebae2a24f51faa9.tar.gz talos-hostboot-03ec024db41d0e0f844ee08eaebae2a24f51faa9.zip |
errl: Mark errlogMsgHandler() as detached
This ensures we crash if we can't process error log messages properly.
Currently the boot will just hang without any obvious reason if the task
crashes.
Change-Id: I939f720b04274ec6718690b7126db7103f9f1003
Signed-off-by: Andrew Jeffery <andrewrj@au1.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67274
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/errl/errlmanager.C')
-rw-r--r-- | src/usr/errl/errlmanager.C | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/errl/errlmanager.C b/src/usr/errl/errlmanager.C index 1786b46b4..c32c2b2b7 100644 --- a/src/usr/errl/errlmanager.C +++ b/src/usr/errl/errlmanager.C @@ -263,6 +263,8 @@ void ErrlManager::errlogMsgHndlr () { TRACFCOMP( g_trac_errl, ENTER_MRK "Enter ErrlManager::errlogMsgHndlr" ); + task_detach(); + while( 1 ) { msg_t * theMsg = msg_wait( iv_msgQ ); |