LoongArch: Return earlier in die() if notify_die() returns NOTIFY_STOP
authorTiezhu Yang <yangtiezhu@loongson.cn>
Fri, 25 Aug 2023 15:40:26 +0000 (23:40 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 25 Aug 2023 15:40:26 +0000 (23:40 +0800)
commita038ae7148469ab6cf4afadb155a15d9554a0b59
tree827358e8b90a948534941233d291d6ada079c0a5
parent6933c11fb501a40681d43336b3e0eee9df2abee0
LoongArch: Return earlier in die() if notify_die() returns NOTIFY_STOP

After the call to oops_exit(), it should not panic or execute
the crash kernel if the oops is to be suppressed.

Suggested-by: Maciej W. Rozycki <macro@orcam.me.uk>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/traps.c