From c473df288f702b1803205ac6eda4cc1781fec4f8 Mon Sep 17 00:00:00 2001 From: Fadi Kassem Date: Fri, 10 Apr 2015 16:33:48 -0500 Subject: Fixed issue where OCC goes into Safe Mode due to low APSS reading. Change-Id: I93aa4f15eab5c1c58284b4a3d5e0b7609b252c56 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17016 Reviewed-by: Stephan Broyles Tested-by: Stephan Broyles --- src/occ/cmdh/cmdh_fsp_cmds.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/occ/cmdh/cmdh_fsp_cmds.c') diff --git a/src/occ/cmdh/cmdh_fsp_cmds.c b/src/occ/cmdh/cmdh_fsp_cmds.c index d6e2763..d0f268c 100755 --- a/src/occ/cmdh/cmdh_fsp_cmds.c +++ b/src/occ/cmdh/cmdh_fsp_cmds.c @@ -5,10 +5,10 @@ /* */ /* OpenPOWER OnChipController Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2014 */ -/* [+] Google Inc. */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ /* [+] International Business Machines Corp. */ /* */ +/* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ /* You may obtain a copy of the License at */ @@ -429,7 +429,7 @@ ERRL_RC cmdh_poll_v10(cmdh_fsp_rsp_t * o_rsp_ptr) cmdh_poll_pcaps_sensor_t l_pcapData; - l_pcapData.current = G_sysConfigData.pcap.system_pcap; + l_pcapData.current = g_amec->pcap.active_node_pcap; l_pcapData.system = G_amec_sensor_list[PWR250US]->sample; l_pcapData.n = G_sysConfigData.pcap.oversub_pcap; l_pcapData.max = G_sysConfigData.pcap.max_pcap; -- cgit v1.2.1