Blame SOURCES/kexec-tools-2.0.15-makedumpfile-PATCH-Support-newer-kernels.patch

cf4a81
From 555943348e649d2c187189f7690a98555a4b3251 Mon Sep 17 00:00:00 2001
cf4a81
From: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
cf4a81
Date: Wed, 10 Jan 2018 11:56:31 +0900
cf4a81
Subject: [PATCH] [PATCH] Support newer kernels.
cf4a81
cf4a81
A new makedumpfile supports newer kernels:
cf4a81
cf4a81
      - 4.12, 4.13, 4.14   (x86 FLATMEM)
cf4a81
      - 4.12, 4.13, 4.14   (x86 SPARSEMEM)
cf4a81
      - 4.12, 4.13, 4.14   (x86_64 SPARSEMEM)
cf4a81
cf4a81
Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
cf4a81
Signed-off-by: Pingfan Liu <piliu@redhat.com>
cf4a81
---
cf4a81
 README         | 3 +++
cf4a81
 makedumpfile.h | 2 +-
cf4a81
 2 files changed, 4 insertions(+), 1 deletion(-)
cf4a81
cf4a81
diff --git a/makedumpfile-1.6.2/README b/makedumpfile-1.6.2/README
cf4a81
index 8de4dc6..c3eeefe 100644
cf4a81
--- a/makedumpfile-1.6.2/README
cf4a81
+++ b/makedumpfile-1.6.2/README
cf4a81
@@ -119,6 +119,9 @@
cf4a81
   4.9    | OK | ** |    |    |    | ** |    | -- | OK | OK |    |    |
cf4a81
   4.10   | OK | ** |    |    |    | ** |    | -- | OK | OK |    |    |
cf4a81
   4.11   | OK | ** |    |    |    | ** |    | -- | OK | OK |    |    |
cf4a81
+  4.12   | OK | ** |    |    |    | ** |    | -- | OK | OK |    |    |
cf4a81
+  4.13   | OK | ** |    |    |    | ** |    | -- | OK | OK |    |    |
cf4a81
+  4.14   | OK | ** |    |    |    | ** |    | -- | OK | OK |    |    |
cf4a81
 
cf4a81
   OK    : Support.
cf4a81
   --    : Not support.
cf4a81
diff --git a/makedumpfile-1.6.2/makedumpfile.h b/makedumpfile-1.6.2/makedumpfile.h
cf4a81
index c1f779a..50aaffa 100644
cf4a81
--- a/makedumpfile-1.6.2/makedumpfile.h
cf4a81
+++ b/makedumpfile-1.6.2/makedumpfile.h
cf4a81
@@ -478,7 +478,7 @@ do { \
cf4a81
 #define KVER_MIN_SHIFT 16
cf4a81
 #define KERNEL_VERSION(x,y,z) (((x) << KVER_MAJ_SHIFT) | ((y) << KVER_MIN_SHIFT) | (z))
cf4a81
 #define OLDEST_VERSION		KERNEL_VERSION(2, 6, 15)/* linux-2.6.15 */
cf4a81
-#define LATEST_VERSION		KERNEL_VERSION(4, 11, 7)/* linux-4.11.7 */
cf4a81
+#define LATEST_VERSION		KERNEL_VERSION(4, 14, 8)/* linux-4.14.8 */
cf4a81
 
cf4a81
 /*
cf4a81
  * vmcoreinfo in /proc/vmcore
cf4a81
-- 
cf4a81
2.7.4
cf4a81