diff options
author | Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> | 2015-09-14 16:40:14 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-09-15 11:19:30 +1000 |
commit | 52be3f7797d91e7cfb48eb900ad6628fe28a0f58 (patch) | |
tree | 6bd5a4eee3f5ce478c22e30bee5222e17d09cd79 | |
parent | 1764f2452565bc7203f6e4523a3ea59bfffc35ee (diff) | |
download | skiboot-52be3f7797d91e7cfb48eb900ad6628fe28a0f58.zip skiboot-52be3f7797d91e7cfb48eb900ad6628fe28a0f58.tar.gz skiboot-52be3f7797d91e7cfb48eb900ad6628fe28a0f58.tar.bz2 |
opal/hmi: Use prlog instead of printf.
Replace all printf's with prlog in core/hmi.c.
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | core/hmi.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -616,7 +616,7 @@ int handle_hmi_exception(uint64_t hmer, struct OpalHMIEvent *hmi_evt) * TB register. */ this_cpu()->tb_invalid = !(mfspr(SPR_TFMR) & SPR_TFMR_TB_VALID); - printf("HMI: Received HMI interrupt: HMER = 0x%016llx\n", hmer); + prlog(PR_DEBUG, "HMI: Received HMI interrupt: HMER = 0x%016llx\n", hmer); if (hmi_evt) hmi_evt->hmer = hmer; if (hmer & SPR_HMER_PROC_RECV_DONE) { @@ -626,7 +626,7 @@ int handle_hmi_exception(uint64_t hmer, struct OpalHMIEvent *hmi_evt) hmi_evt->type = OpalHMI_ERROR_PROC_RECOV_DONE; queue_hmi_event(hmi_evt, recover); } - printf("HMI: Processor recovery Done.\n"); + prlog(PR_DEBUG, "HMI: Processor recovery Done.\n"); } if (hmer & SPR_HMER_PROC_RECV_ERROR_MASKED) { hmer &= ~SPR_HMER_PROC_RECV_ERROR_MASKED; @@ -635,7 +635,7 @@ int handle_hmi_exception(uint64_t hmer, struct OpalHMIEvent *hmi_evt) hmi_evt->type = OpalHMI_ERROR_PROC_RECOV_MASKED; queue_hmi_event(hmi_evt, recover); } - printf("HMI: Processor recovery Done (masked).\n"); + prlog(PR_DEBUG, "HMI: Processor recovery Done (masked).\n"); } if (hmer & SPR_HMER_PROC_RECV_AGAIN) { hmer &= ~SPR_HMER_PROC_RECV_AGAIN; @@ -644,7 +644,7 @@ int handle_hmi_exception(uint64_t hmer, struct OpalHMIEvent *hmi_evt) hmi_evt->type = OpalHMI_ERROR_PROC_RECOV_DONE_AGAIN; queue_hmi_event(hmi_evt, recover); } - printf("HMI: Processor recovery occurred again before" + prlog(PR_DEBUG, "HMI: Processor recovery occurred again before" "bit2 was cleared\n"); } /* Assert if we see malfunction alert, we can not continue. */ |