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

ab224c
From 1202589997ad008b18276f504c5c2b8529b41dfe Mon Sep 17 00:00:00 2001
ab224c
Message-Id: <1202589997ad008b18276f504c5c2b8529b41dfe.1380186577.git.bhe@redhat.com>
ab224c
From: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
ab224c
Date: Fri, 20 Sep 2013 09:34:57 +0900
ab224c
Subject: [PATCH] [PATCH] Support newer kernels.
ab224c
ab224c
 A new makedumpfile supports newer kernels:
ab224c
ab224c
       - 3.10    (x86 FLATMEM)
ab224c
       - 3.10    (x86 SPARSEMEM)
ab224c
       - 3.10    (x86_64 SPARSEMEM)
ab224c
ab224c
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
ab224c
Signed-off-by: Baoquan He <bhe@redhat.com>
ab224c
---
ab224c
 README         | 1 +
ab224c
 makedumpfile.h | 2 +-
ab224c
 2 files changed, 2 insertions(+), 1 deletion(-)
ab224c
ab224c
diff --git a/makedumpfile-1.5.4/README b/makedumpfile-1.5.4/README
ab224c
index b587485..4e838d8 100644
ab224c
--- a/makedumpfile-1.5.4/README
ab224c
+++ b/makedumpfile-1.5.4/README
ab224c
@@ -97,6 +97,7 @@
ab224c
   3.7    | OK | ** |    |    |    | ** |    | -- | OK | OK |    |    |
ab224c
   3.8    | OK | ** |    |    |    | ** |    | -- | OK | OK |    |    |
ab224c
   3.9    | OK | ** |    |    |    | ** |    | -- | OK | OK |    |    |
ab224c
+  3.10   | OK | ** |    |    |    | ** |    | -- | OK | OK |    |    |
ab224c
 
ab224c
   OK    : Support.
ab224c
   --    : Not support.
ab224c
diff --git a/makedumpfile-1.5.4/makedumpfile.h b/makedumpfile-1.5.4/makedumpfile.h
ab224c
index a04154e..c504bfb 100644
ab224c
--- a/makedumpfile-1.5.4/makedumpfile.h
ab224c
+++ b/makedumpfile-1.5.4/makedumpfile.h
ab224c
@@ -426,7 +426,7 @@ do { \
ab224c
 #define KVER_MIN_SHIFT 16
ab224c
 #define KERNEL_VERSION(x,y,z) (((x) << KVER_MAJ_SHIFT) | ((y) << KVER_MIN_SHIFT) | (z))
ab224c
 #define OLDEST_VERSION		KERNEL_VERSION(2, 6, 15)/* linux-2.6.15 */
ab224c
-#define LATEST_VERSION		KERNEL_VERSION(3, 9, 6)/* linux-3.9.6 */
ab224c
+#define LATEST_VERSION		KERNEL_VERSION(3, 10, 7)/* linux-3.10.7 */
ab224c
 
ab224c
 /*
ab224c
  * vmcoreinfo in /proc/vmcore
ab224c
-- 
ab224c
1.8.3.1
ab224c