diff options
-rw-r--r-- | arch/powerpc/include/asm/compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/compat.h b/arch/powerpc/include/asm/compat.h index a613d2c82fd9..b142b8e0ed9e 100644 --- a/arch/powerpc/include/asm/compat.h +++ b/arch/powerpc/include/asm/compat.h | |||
@@ -8,7 +8,11 @@ | |||
8 | #include <linux/sched.h> | 8 | #include <linux/sched.h> |
9 | 9 | ||
10 | #define COMPAT_USER_HZ 100 | 10 | #define COMPAT_USER_HZ 100 |
11 | #ifdef __BIG_ENDIAN__ | ||
11 | #define COMPAT_UTS_MACHINE "ppc\0\0" | 12 | #define COMPAT_UTS_MACHINE "ppc\0\0" |
13 | #else | ||
14 | #define COMPAT_UTS_MACHINE "ppcle\0\0" | ||
15 | #endif | ||
12 | 16 | ||
13 | typedef u32 compat_size_t; | 17 | typedef u32 compat_size_t; |
14 | typedef s32 compat_ssize_t; | 18 | typedef s32 compat_ssize_t; |