Skip to contentSkip to conversation

x86-crash-use-sz_1m-macro-instead-of-hardcoded-value.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Jan 5, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: x86/crash: use SZ_1M macro instead of hardcoded value
has been removed from the -mm tree. Its filename was
x86-crash-use-sz_1m-macro-instead-of-hardcoded-value.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: Yuntao Wang <[email protected]>
Subject: x86/crash: use SZ_1M macro instead of hardcoded value
Date: Tue, 2 Jan 2024 22:49:04 +0800

Use SZ_1M macro instead of hardcoded 1<<20 to make code more readable.

Cc Borislav Petkov (AMD) <[email protected]>
Cc Dave Hansen <[email protected]>
Cc Dave Young <[email protected]>
Cc Hari Bathini <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Sourabh Jain <[email protected]>
Cc Takashi Iwai <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Vivek Goyal <[email protected]>

---

 arch/x86/kernel/crash.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/crash.c renamed from arch/x86/kernel/crash.c~x86-crash-use-sz_1m-macro-instead-of-hardcoded-value +1 -1
@@ -170,7 +170,7 @@ static int elf_header_exclude_ranges(str
 	int ret = 0;
 
 	/* Exclude the low 1M because it is always reserved */
-	ret = crash_exclude_mem_range(cmem, 0, (1<<20)-1);
+	ret = crash_exclude_mem_range(cmem, 0, SZ_1M - 1);
 	if (ret)
 		return ret;
 

_

Patches currently in -mm which might be from [email protected] are