[PATCH 15/16] [PATCH] Support newer kernels.

Atsushi Kumagai kumagai-atsushi at mxc.nes.nec.co.jp
Thu Aug 30 04:00:04 EDT 2012


From: Atsushi Kumagai <kumagai-atsushi at mxc.nes.nec.co.jp>
Date: Thu, 30 Aug 2012 11:28:46 +0900
Subject: [PATCH 15/16] [PATCH] Support newer kernels.

A new makedumpfile supports newer kernels:

      - 3.2 to 3.4    (x86 FLATMEM)
      - 3.2 to 3.4    (x86 SPARSEMEM)
      - 3.2 to 3.4    (x86_64 SPARSEMEM)

Signed-off-by: Atsushi Kumagai <kumagai-atsushi at mxc.nes.nec.co.jp>
---
 README         |    2 ++
 makedumpfile.h |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/README b/README
index caebc3c..8a8aa7f 100644
--- a/README
+++ b/README
@@ -83,6 +83,8 @@
   3.0    | OK | ** |    |    |    | ** |    | -- | OK | OK |    |    |
   3.1    | OK | ** |    |    |    | ** |    | -- | OK | OK |    |    |
   3.2    | OK | ** | OK |    |    | ** |    | -- | OK | OK |    |    |
+  3.3    | OK | ** |    |    |    | ** |    | -- | OK | OK |    |    |
+  3.4    | OK | ** |    |    |    | ** |    | -- | OK | OK |    |    |
 
   OK    : Support.
   --    : Not support.
diff --git a/makedumpfile.h b/makedumpfile.h
index 7f5e1c6..2b88fa4 100644
--- a/makedumpfile.h
+++ b/makedumpfile.h
@@ -382,7 +382,7 @@ do { \
 #define KVER_MIN_SHIFT 16
 #define KERNEL_VERSION(x,y,z) (((x) << KVER_MAJ_SHIFT) | ((y) << KVER_MIN_SHIFT) | (z))
 #define OLDEST_VERSION		KERNEL_VERSION(2, 6, 15)/* linux-2.6.15 */
-#define LATEST_VERSION		KERNEL_VERSION(3, 2, 16)/* linux-3.2.16 */
+#define LATEST_VERSION		KERNEL_VERSION(3, 4, 8)/* linux-3.4.8 */
 
 /*
  * vmcoreinfo in /proc/vmcore
-- 
1.7.9.2



More information about the kexec mailing list