projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
272b98c
)
ARM: 7836/1: add __get_user_unaligned/__put_user_unaligned
author
Nicolas Pitre
<nicolas.pitre@linaro.org>
Tue, 17 Sep 2013 18:16:38 +0000
(19:16 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 18 Sep 2013 09:58:23 +0000
(10:58 +0100)
BTRFS is now relying on those since v3.12-rc1.
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/uaccess.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/uaccess.h
b/arch/arm/include/asm/uaccess.h
index
7e1f760
..
72abdc5
100644
(file)
--- a/
arch/arm/include/asm/uaccess.h
+++ b/
arch/arm/include/asm/uaccess.h
@@
-19,6
+19,13
@@
#include <asm/unified.h>
#include <asm/compiler.h>
+#if __LINUX_ARM_ARCH__ < 6
+#include <asm-generic/uaccess-unaligned.h>
+#else
+#define __get_user_unaligned __get_user
+#define __put_user_unaligned __put_user
+#endif
+
#define VERIFY_READ 0
#define VERIFY_WRITE 1