aboutsummaryrefslogtreecommitdiff
path: root/include/fsp-elog.h
diff options
context:
space:
mode:
authorDeepthi Dharwar <deepthi@linux.vnet.ibm.com>2014-07-24 12:02:42 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-25 14:10:52 +1000
commitfa023052dfec598262b41e277850d78780c42639 (patch)
tree7230a271a0f37d14d7f65a656e02f4dfd96172fd /include/fsp-elog.h
parent685fab6439fb46b13d3de383e3c9288607c7d389 (diff)
downloadskiboot-fa023052dfec598262b41e277850d78780c42639.zip
skiboot-fa023052dfec598262b41e277850d78780c42639.tar.gz
skiboot-fa023052dfec598262b41e277850d78780c42639.tar.bz2
elog: Move error log data structres from opal.h to new file errorlog.h
Currently, all the error log data structures needed to commit an error in PEL are declared in opal.h and are exposed to kernel. At present we do not have any infrastrucutre in the kernel to make use of these ABIs. Any changes to these strucutes in the future can potentially cause an ABI breakage. In order to avoid any breakage this patch moves all the error log data structures to a new errorlog.h file and deprecating the OPAL tokens for error-log write functionality calls only. Once the kernel support is added (anytime in future), one needs to move all of this back to opal.h and re-enable the OPAL tokens for the same. Signed-off-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/fsp-elog.h')
-rw-r--r--include/fsp-elog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fsp-elog.h b/include/fsp-elog.h
index 2027204..22fac40 100644
--- a/include/fsp-elog.h
+++ b/include/fsp-elog.h
@@ -14,6 +14,7 @@
* limitations under the License.
*/
#include <opal.h>
+#include <errorlog.h>
#ifndef __ELOG_H
#define __ELOG_H