From d176dfce22f5ead7a6018edb69757bc8840cc008 Mon Sep 17 00:00:00 2001 From: "Justin M. Forbes" Date: Tue, 30 Jun 2020 09:24:22 -0500 Subject: kernel-5.8.0-0.rc3.20200630git7c30b859a947.1 * Tue Jun 30 2020 Fedora Kernel Team [5.8.0-0.rc3.20200630git7c30b859a947.1] - 7c30b859a947 rebase - Updated changelog for the release based on v5.8-rc3 (Fedora Kernel Team) Resolves: rhbz# Signed-off-by: Justin M. Forbes --- 0001-kdump-round-up-the-total-memory-size-to-128M-for-cra.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '0001-kdump-round-up-the-total-memory-size-to-128M-for-cra.patch') diff --git a/0001-kdump-round-up-the-total-memory-size-to-128M-for-cra.patch b/0001-kdump-round-up-the-total-memory-size-to-128M-for-cra.patch index e5f448f7f..26576a04e 100644 --- a/0001-kdump-round-up-the-total-memory-size-to-128M-for-cra.patch +++ b/0001-kdump-round-up-the-total-memory-size-to-128M-for-cra.patch @@ -53,7 +53,7 @@ index 9f1557b98468..d631d22089ba 100644 #include #include +#include - + #include #include @@ -39,6 +40,15 @@ static int __init parse_crashkernel_mem(char *cmdline, @@ -69,7 +69,7 @@ index 9f1557b98468..d631d22089ba 100644 + * enough for most test cases. + */ + total_mem = roundup(total_mem, SZ_128M); - + /* for each entry of the comma-separated list */ do { @@ -83,13 +93,13 @@ static int __init parse_crashkernel_mem(char *cmdline, @@ -81,7 +81,7 @@ index 9f1557b98468..d631d22089ba 100644 pr_warn("crashkernel: invalid size\n"); return -EINVAL; } - + /* match ? */ - if (system_ram >= start && system_ram < end) { + if (total_mem >= start && total_mem < end) { @@ -89,5 +89,5 @@ index 9f1557b98468..d631d22089ba 100644 break; } -- -2.25.4 +2.26.2 -- cgit