powerpc/traps: merge unrecoverable_exception() and nonrecoverable_exception()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 25 Sep 2018 14:10:04 +0000 (14:10 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 3 Oct 2018 05:40:01 +0000 (15:40 +1000)
commit51423a9c9b09352bea1c53b8324db78bf3b170d1
tree76d8c854ff0de6ab8718f1eb5f592e7f716d7f64
parentb9ef7b4b867f56114bedbe6bf104cfaba0ca818e
powerpc/traps: merge unrecoverable_exception() and nonrecoverable_exception()

PPC32 uses nonrecoverable_exception() while PPC64 uses
unrecoverable_exception().

Both functions are doing almost the same thing.

This patch removes nonrecoverable_exception()

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/asm-prototypes.h
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/traps.c