powerpc/32: Avoid miscompilation w/GCC 4.6.3 - don't inline copy_to/from_user()
Changes
1 files changed · +1 −7
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| arch/powerpc/include/asm/uaccess.h | modified | +1 | −7 | View file |
arch/powerpc/include/asm/uaccess.h
View filediff --git a/arch/powerpc/include/asm/uaccess.h b/arch/powerpc/include/asm/uaccess.h
index 5c0d8a8..41e88d3 100644
--- a/arch/powerpc/include/asm/uaccess.h
+++ b/arch/powerpc/include/asm/uaccess.h
@@ -267,13 +267,7 @@ do { \
extern unsigned long __copy_tofrom_user(void __user *to,
const void __user *from, unsigned long size);
-#ifndef __powerpc64__
-
-#define INLINE_COPY_FROM_USER
-#define INLINE_COPY_TO_USER
-
-#else /* __powerpc64__ */
-
+#ifdef __powerpc64__
static inline unsigned long
raw_copy_in_user(void __user *to, const void __user *from, unsigned long n)
{