summaryrefslogtreecommitdiffstats
path: root/include/linux/cper.h
diff options
context:
space:
mode:
authorTyler Baicar <tbaicar@codeaurora.org>2018-01-02 18:10:41 +0000
committerIngo Molnar <mingo@kernel.org>2018-01-03 14:03:48 +0100
commitc6d8c8ef1d0d94fdae9f5d72982963db89f9cdad (patch)
tree24831d48c79af291bf27901422df63b588ba6b8d /include/linux/cper.h
parent50342b2e498777df237a40a23eebc02f0935e636 (diff)
downloadlinux-c6d8c8ef1d0d94fdae9f5d72982963db89f9cdad.tar.gz
linux-c6d8c8ef1d0d94fdae9f5d72982963db89f9cdad.tar.bz2
linux-c6d8c8ef1d0d94fdae9f5d72982963db89f9cdad.zip
efi: Move ARM CPER code to new file
The ARM CPER code is currently mixed in with the other CPER code. Move it to a new file to separate it from the rest of the CPER code. Signed-off-by: Tyler Baicar <tbaicar@codeaurora.org> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Arvind Yadav <arvind.yadav.cs@gmail.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Matt Fleming <matt@codeblueprint.co.uk> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephen Boyd <sboyd@codeaurora.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vasyl Gomonovych <gomonovych@gmail.com> Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/20180102181042.19074-5-ard.biesheuvel@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/cper.h')
-rw-r--r--include/linux/cper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/cper.h b/include/linux/cper.h
index 723e952fde0d..3299e43c76eb 100644
--- a/include/linux/cper.h
+++ b/include/linux/cper.h
@@ -494,6 +494,8 @@ struct cper_sec_pcie {
/* Reset to default packing */
#pragma pack()
+extern const char * const cper_proc_error_type_strs[4];
+
u64 cper_next_record_id(void);
const char *cper_severity_str(unsigned int);
const char *cper_mem_err_type_str(unsigned int);
@@ -503,5 +505,7 @@ void cper_mem_err_pack(const struct cper_sec_mem_err *,
struct cper_mem_err_compact *);
const char *cper_mem_err_unpack(struct trace_seq *,
struct cper_mem_err_compact *);
+void cper_print_proc_arm(const char *pfx,
+ const struct cper_sec_proc_arm *proc);
#endif