File makedumpfile-supports-3.0.patch of Package makedumpfile

From: Petr Tesarik <ptesarik@suse.cz>
Subject: Mark kernel 3.0 as supported
References: bnc#719648

Without the patch, makedumpfile gives the following warning:

  The kernel version is not supported.
  The created dumpfile may be incomplete.

Since makedumpfile has been successfully tested with kernel 3.0, let's
mark all 3.0 releases as supported. This is no problem, at least for
SLES, because incompatible changes are forbidden by the policy.

Signed-off-by: Petr Tesarik <ptesarik@suse.cz>

---
 makedumpfile.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/makedumpfile.h
+++ b/makedumpfile.h
@@ -447,7 +447,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(2, 6, 36)/* linux-2.6.36 */
+#define LATEST_VERSION		KERNEL_VERSION(3, 0, 0xffff) /* linux-3.0, all releases */
 
 /*
  * vmcoreinfo in /proc/vmcore
openSUSE Build Service is sponsored by