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

    powerpc/compat: 32-bit little endian machine name is ppcle, not ppc

to the 3.14-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:
     powerpc-compat-32-bit-little-endian-machine-name-is-ppcle-not-ppc.patch
and it can be found in the queue-3.14 subdirectory.

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


>From 422b9b9684db3c511e65c91842275c43f5910ae9 Mon Sep 17 00:00:00 2001
From: Anton Blanchard <[email protected]>
Date: Thu, 6 Mar 2014 16:10:11 +1100
Subject: powerpc/compat: 32-bit little endian machine name is ppcle, not ppc

From: Anton Blanchard <[email protected]>

commit 422b9b9684db3c511e65c91842275c43f5910ae9 upstream.

I noticed this when testing setarch. No, we don't magically
support a big endian userspace on a little endian kernel.

Signed-off-by: Anton Blanchard <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 arch/powerpc/include/asm/compat.h |    4 ++++
 1 file changed, 4 insertions(+)

--- a/arch/powerpc/include/asm/compat.h
+++ b/arch/powerpc/include/asm/compat.h
@@ -8,7 +8,11 @@
 #include <linux/sched.h>
 
 #define COMPAT_USER_HZ         100
+#ifdef __BIG_ENDIAN__
 #define COMPAT_UTS_MACHINE     "ppc\0\0"
+#else
+#define COMPAT_UTS_MACHINE     "ppcle\0\0"
+#endif
 
 typedef u32            compat_size_t;
 typedef s32            compat_ssize_t;


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

queue-3.14/kvm-ppc-book3s-hv-fix-kvm-hang-with-config_kvm_xics-n.patch
queue-3.14/powerpc-compat-32-bit-little-endian-machine-name-is-ppcle-not-ppc.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to