sparc-implement-arch_do_panic.patch removed from -mm tree
The quilt patch titled
Subject: sparc: implement arch_do_panic
has been removed from the -mm tree. Its filename was
sparc-implement-arch_do_panic.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Mete Durlu <[email protected]>
Subject: sparc: implement arch_do_panic
Date: Mon, 31 Aug 2026 11:57:17 +0200
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.
Signed-off-by Mete Durlu <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
Reviewed-by Bradley Morgan <[email protected]>
Reviewed-by Andrew Morton <[email protected]>
Cc Alexander Gordeev <[email protected]>
Cc Andreas Larsson <[email protected]>
Cc Christian Borntraeger <[email protected]>
Cc David S. Miller <[email protected]>
Cc Heiko Carstens <[email protected]>
Cc Petr Mladek <[email protected]>
Cc Sven Schnelle <[email protected]>
Cc Vasily Gorbik <[email protected]>
---
arch/sparc/kernel/setup.c | 9 +++++++++ kernel/panic.c | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-)
arch/sparc/kernel/setup.c renamed from arch/sparc/kernel/setup.c~sparc-implement-arch_do_panic +9 -0
@@ -2,6 +2,8 @@#include <asm/setup.h> #include <linux/sysctl.h> +#include <linux/panic.h> +#include <linux/printk.h> static const struct ctl_table sparc_sysctl_table[] = { {
@@ -36,6 +38,13 @@ static const struct ctl_table sparc_sysc#endif }; +void arch_do_panic (void ) +{ +/* 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" ); +}static int __init init_sparc_sysctls (void ) {
kernel/panic.c renamed from kernel/panic.c~sparc-implement-arch_do_panic +0 -9
@@ -744,15 +744,6 @@ void vpanic(const char *fmt, va_list arg 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 ();
_
Patches currently in -mm which might be from [email protected] are