diff options
| author | Mete Durlu <meted@linux.ibm.com> | 2026-08-31 11:57:17 +0200 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-09-29 23:14:53 -0700 |
| commit | eda7158f73634b7e8c8dd1f87116a73d1a2394b0 (patch) | |
| tree | 93460b4947e5d11098306140eaaadb01ddf76a6f /kernel | |
| parent | b3769677aa9c504567d8e5b794ebca0e3deae2ae (diff) | |
| download | linux-next-eda7158f73634b7e8c8dd1f87116a73d1a2394b0.tar.gz linux-next-eda7158f73634b7e8c8dd1f87116a73d1a2394b0.zip | |
sparc: implement arch_do_panic
Implement sparc specific arch_do_panic() instead of using sparc specific
ifdef sections in vpanic() code. Reorder arch specific panic handling,
sparc's Stop-A messages are now printed after "end Kernel panic" marker.
Link: https://lore.kernel.org/20260831-arch_do_panic-v6-3-a1e170a9e7fd@linux.ibm.com
Signed-off-by: Mete Durlu <meted@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Bradley Morgan <include@grrlz.net>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Andreas Larsson <andreas@gaisler.com>
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Petr Mladek <pmladek@suse.com>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/panic.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index ee6e3f9e3900..7dda841c16f9 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -744,15 +744,6 @@ void vpanic(const char *fmt, va_list args) reboot_mode = panic_reboot_mode; emergency_restart(); } -#ifdef __sparc__ - { - extern int stop_a_enabled; - /* Make sure the user can actually press Stop-A (L1-A) */ - stop_a_enabled = 1; - pr_emerg("Press Stop-A (L1-A) from sun keyboard or send break\n" - "twice on console to return to the boot prom\n"); - } -#endif pr_emerg("---[ end Kernel panic - not syncing: %s ]---\n", buf); arch_do_panic(); |
