~ubuntu-branches/ubuntu/natty/makedumpfile/natty

« 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: 2010-03-03 17:17:35 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20100303171735-75mq4satb7as3b1z
* New upstream version
* Preserve upstream's original makedumpfile.8 in clean target
* kdump-config: Fix a typo
* Switch to the "3.0 (quilt)" source format
  - Remove unneeded Build-Depends on quilt
* Update kdump-tools.README.Debian to reflect that recent kernels
  don't need a crash kernel start address
* Apply patch from Petter Reinholdtsen to fix incorrect dependencies
  in kdump-tools.init (Closes: #569685)
* Indicate support for Linux 2.6.32
  - Although upstream hasn't updated its LATEST_VERSION macro, this
    version works without modification on Linux 2.6.32.  Squelch a
    warning that a 2.6.32 kernel is not supported.
* Backport upstream commit 4a16bd39866093f4949f8e9dc183fa2321bda22d
  - Fix buffer overflow when writing dh->signature

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