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

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