diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2020-03-31 16:03:43 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-06-02 20:59:11 +1000 |
commit | 32746dfe4cf37f4077929601e8877a7fd02676e8 (patch) | |
tree | 450ea4cafd229974cf0ac7df18b5286ddf7dc664 /arch/powerpc/kernel/entry_32.S | |
parent | e6209318d63e2774c5ab214b14b948079e040064 (diff) | |
download | linux-32746dfe4cf37f4077929601e8877a7fd02676e8.tar.bz2 |
powerpc/rtas: Remove machine_check_in_rtas()
machine_check_in_rtas() is just a trap.
Do the trap directly in the machine check exception handler.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Acked-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/78899f40f89cb3c4f69bdff7f04eb6ec7cb753d5.1585670437.git.christophe.leroy@c-s.fr
Diffstat (limited to 'arch/powerpc/kernel/entry_32.S')
-rw-r--r-- | arch/powerpc/kernel/entry_32.S | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/entry_32.S b/arch/powerpc/kernel/entry_32.S index a7b261440d59..126ede4d591f 100644 --- a/arch/powerpc/kernel/entry_32.S +++ b/arch/powerpc/kernel/entry_32.S @@ -1380,10 +1380,4 @@ _GLOBAL(enter_rtas) mtspr SPRN_SRR0,r8 mtspr SPRN_SRR1,r9 RFI /* return to caller */ - - .globl machine_check_in_rtas -machine_check_in_rtas: - twi 31,0,0 - /* XXX load up BATs and panic */ - #endif /* CONFIG_PPC_RTAS */ |