~ubuntu-branches/ubuntu/precise/makedumpfile/precise

« back to all changes in this revision

Viewing changes to debian/patches/support-linux-2.6.32.patch

  • Committer: Bazaar Package Importer
  • Author(s): John Wright
  • Date: 2011-04-26 20:05:16 UTC
  • mfrom: (1.1.4 upstream) (7.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20110426200516-7dzi6nnzouzfto2f
Tags: 1.3.7-2
* Cherry-pick upstream commits:
  - [PATCH] BUGFIX: Avoid SIGSEGV when specifying -V option.
    (5b8c2da75cbdb230019a3b956793fb768055b977)
  - [PATCH] Copy correct nr_cpus info to dumpfile during re-filtering.
    (c4f1c98a9827c1c0e41772c1954940fbf1b48048)
* kdump-tools.init: Don't exit with failure status except for bad
  usage.  This way, even if /etc/default/kdump-tools has USE_KDUMP=1
  but the kernel command line or debug kernels are not set up,
  installation of a new version of the package will not leave it
  unconfigured.  (Closes: #623470)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Indicate support for Linux 2.6.32
2
 
 
3
 
Although upstream hasn't updated its LATEST_VERSION macro, this version
4
 
works without modification on Linux 2.6.32.  This patch squelches a
5
 
warning.
6
 
 
7
 
Signed-off-by: John Wright <jsw@debian.org>
8
 
diff --git a/makedumpfile.h b/makedumpfile.h
9
 
index 656096b..9a0ca4d 100644
10
 
--- a/makedumpfile.h
11
 
+++ b/makedumpfile.h
12
 
@@ -449,7 +449,7 @@ do { \
13
 
 #define KVER_MIN_SHIFT 16
14
 
 #define KERNEL_VERSION(x,y,z) (((x) << KVER_MAJ_SHIFT) | ((y) << KVER_MIN_SHIFT) | (z))
15
 
 #define OLDEST_VERSION         KERNEL_VERSION(2, 6, 15)/* linux-2.6.15 */
16
 
-#define LATEST_VERSION         KERNEL_VERSION(2, 6, 31)/* linux-2.6.31 */
17
 
+#define LATEST_VERSION         KERNEL_VERSION(2, 6, 32)/* linux-2.6.32 */
18
 
 
19
 
 /*
20
 
  * vmcoreinfo in /proc/vmcore