aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/cputable.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2016-09-16 10:23:11 +0200
committerScott Wood <oss@buserror.net>2016-09-25 02:38:55 -0500
commite627f8dc9a6fb8c9fff371ab99cc36b4f4116433 (patch)
tree7395f7a124261933caede2ec50f282a27622a25f /arch/powerpc/kernel/cputable.c
parentpowerpc/8xx: add system_reset_exception (diff)
downloadlinux-dev-e627f8dc9a6fb8c9fff371ab99cc36b4f4116433.tar.xz
linux-dev-e627f8dc9a6fb8c9fff371ab99cc36b4f4116433.zip
powerpc/8xx: add dedicated machine check handler
During a machine check, the 8xx provides indication of whether the check is due to data or instruction access, so let's display it. Lets also move 8xx specific handling into the new handler. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
-rw-r--r--arch/powerpc/kernel/cputable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 6c4646ac9234..6a82ef039c50 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -1248,6 +1248,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
.mmu_features = MMU_FTR_TYPE_8xx,
.icache_bsize = 16,
.dcache_bsize = 16,
+ .machine_check = machine_check_8xx,
.platform = "ppc823",
},
#endif /* CONFIG_8xx */