aboutsummaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>2014-11-19 10:09:29 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-11-22 08:27:19 +1100
commit0b446b4c8c3883b847f00722b9fd43d3110f7af1 (patch)
tree3f5095b73290f4a767e9cae6f172b492d6a7886a /asm
parent80eee19464493fb92f0fdde1b9ec4870f267c96b (diff)
downloadskiboot-0b446b4c8c3883b847f00722b9fd43d3110f7af1.zip
skiboot-0b446b4c8c3883b847f00722b9fd43d3110f7af1.tar.gz
skiboot-0b446b4c8c3883b847f00722b9fd43d3110f7af1.tar.bz2
opal: Remove MCE handling code.
Removed following: - Machine check handle and other related routines. - per-cpu MCE event used to record machine check data cpu_thread->mc_event; - Machine check related definition including mce event structure from include/opal.h - A comment above GET_STACK() #define that warns about runtime modification made to GET_STACK macro by MC patching code. Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'asm')
-rw-r--r--asm/head.S5
1 files changed, 0 insertions, 5 deletions
diff --git a/asm/head.S b/asm/head.S
index c4d5240..df5efd2 100644
--- a/asm/head.S
+++ b/asm/head.S
@@ -35,11 +35,6 @@
b . ;
-/**
- * patch_exception() makes assumptions about this macro, in order to extract
- * the correct stack during MC. If you update this, also check the offset and
- * the patch code in that function.
- */
#define GET_STACK(stack_reg,pir_reg) \
sldi stack_reg,pir_reg,STACK_SHIFT; \
addis stack_reg,stack_reg,CPU_STACKS_OFFSET@ha; \