+ lzo-fix-up-add-support-for-lzo-compressed-kernels-patch.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     lzo: fix-up add support for lzo compressed kernels patch
has been added to the -mm tree.  Its filename is
     lzo-fix-up-add-support-for-lzo-compressed-kernels-patch.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: lzo: fix-up add support for lzo compressed kernels patch
From: Phillip Lougher <phillip@xxxxxxxxxxxxxxxxxxx>

The add support for lzo compressed kernels patch relies on INIT and error
definitions which have been moved to separate xxx_mm.h files for each
decompressor.

This patch adds a unlzo_mm.h file which supplies these definitions.

Signed-off-by: Phillip Lougher <phillip@xxxxxxxxxxxxxxxxxxx>
Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Cc: Albin Tonnerre <albin.tonnerre@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/decompress/unlzo_mm.h |   13 +++++++++++++
 lib/decompress_unlzo.c              |    1 +
 2 files changed, 14 insertions(+)

diff -puN /dev/null include/linux/decompress/unlzo_mm.h
--- /dev/null
+++ a/include/linux/decompress/unlzo_mm.h
@@ -0,0 +1,13 @@
+#ifndef UNLZO_MM_H
+#define UNLZO_MM_H
+
+#ifdef STATIC
+/* Code active when included from pre-boot environment: */
+#define INIT
+#else
+/* Compile for initramfs/initrd code only */
+#define INIT __init
+static void(*error)(char *m);
+#endif
+
+#endif
diff -puN lib/decompress_unlzo.c~lzo-fix-up-add-support-for-lzo-compressed-kernels-patch lib/decompress_unlzo.c
--- a/lib/decompress_unlzo.c~lzo-fix-up-add-support-for-lzo-compressed-kernels-patch
+++ a/lib/decompress_unlzo.c
@@ -39,6 +39,7 @@
 
 #include <linux/types.h>
 #include <linux/lzo.h>
+#include <linux/decompress/unlzo_mm.h>
 #include <linux/decompress/mm.h>
 
 #include <linux/compiler.h>
_

Patches currently in -mm which might be from phillip@xxxxxxxxxxxxxxxxxxx are

linux-next.patch
lzo-fix-up-add-support-for-lzo-compressed-kernels-patch.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux