This is a note to let you know that I've just added the patch titled

    XZ: Fix missing <linux/kernel.h> include

to the 3.0-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     xz-fix-missing-linux-kernel.h-include.patch
and it can be found in the queue-3.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From 81d67439855a7f928d90965d832aa4f2fb677342 Mon Sep 17 00:00:00 2001
From: Lasse Collin <[email protected]>
Date: Sun, 24 Jul 2011 19:54:25 +0300
Subject: XZ: Fix missing <linux/kernel.h> include

From: Lasse Collin <[email protected]>

commit 81d67439855a7f928d90965d832aa4f2fb677342 upstream.

<linux/kernel.h> is needed for min_t. The old version
happened to work on x86 because <asm/unaligned.h>
indirectly includes <linux/kernel.h>, but it didn't
work on ARM.

<linux/kernel.h> includes <asm/byteorder.h> so it's
not necessary to include it explicitly anymore.

Signed-off-by: Lasse Collin <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 lib/xz/xz_private.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/lib/xz/xz_private.h
+++ b/lib/xz/xz_private.h
@@ -12,7 +12,7 @@
 
 #ifdef __KERNEL__
 #      include <linux/xz.h>
-#      include <asm/byteorder.h>
+#      include <linux/kernel.h>
 #      include <asm/unaligned.h>
        /* XZ_PREBOOT may be defined only via decompress_unxz.c. */
 #      ifndef XZ_PREBOOT


Patches currently in stable-queue which might be from [email protected] 
are

queue-3.0/xz-fix-missing-linux-kernel.h-include.patch

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to