fbdev-use-panic_in_progress-helper.patch removed from -mm tree
The quilt patch titled
Subject: fbdev: use panic_in_progress() helper
has been removed from the -mm tree. Its filename was
fbdev-use-panic_in_progress-helper.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: Jinchao Wang <[email protected]>
Subject: fbdev: use panic_in_progress() helper
Date: Mon, 25 Aug 2025 10:29:30 +0800
Update the fbcon_skip_panic() function to use the panic_in_progress() helper.
The previous direct access to panic_cpu is less readable and is being replaced by a dedicated function that more clearly expresses the intent.
This change is part of a series to refactor the kernel's panic handling logic for better clarity and robustness.
Acked-by Qianqiang Liu <[email protected]>
---
drivers/video/fbdev/core/fbcon.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-)
drivers/video/fbdev/core/fbcon.c renamed from drivers/video/fbdev/core/fbcon.c~fbdev-use-panic_in_progress-helper +1 -8
@@ -279,14 +279,7 @@ static int fbcon_get_rotate(struct fb_instatic bool fbcon_skip_panic (struct fb_info *info) { -/* panic_cpu is not exported, and can't be used if built as module. Use -* oops_in_progress instead, but non-fatal oops won't be printed. -*/ -#if defined(MODULE ) -return (info->skip_panic &&unlikely (oops_in_progress)); -#else -return (info->skip_panic &&unlikely (atomic_read (&panic_cpu) !=PANIC_CPU_INVALID )); -#endif +return (info->skip_panic &&unlikely (panic_in_progress ())); }static inline bool fbcon_is_active (struct vc_data *vc,struct fb_info *info)
_
Patches currently in -mm which might be from [email protected] are