diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2016-09-16 10:23:11 +0200 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-09-25 02:38:55 -0500 |
commit | e627f8dc9a6fb8c9fff371ab99cc36b4f4116433 (patch) | |
tree | 7395f7a124261933caede2ec50f282a27622a25f /arch/powerpc/kernel/cputable.c | |
parent | f307939fb260c83e6875476695ac58a669348b8f (diff) | |
download | op-kernel-dev-e627f8dc9a6fb8c9fff371ab99cc36b4f4116433.zip op-kernel-dev-e627f8dc9a6fb8c9fff371ab99cc36b4f4116433.tar.gz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 6c4646a..6a82ef0 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 */ |