summaryrefslogtreecommitdiffstats
path: root/fix-arm-btrfs-build.patch
blob: 7e33f29b99b6b915a6f1ee4bebffbd69fc097cb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/arch/arm/include/asm/uaccess.h b/arch/arm/include/asm/uaccess.h
index 7e1f760..05c9825 100644
--- a/arch/arm/include/asm/uaccess.h
+++ b/arch/arm/include/asm/uaccess.h
@@ -417,6 +417,9 @@ do {									\
 	: "cc")
 
 
+#define __get_user_unaligned(x, ptr)	__get_user((x), (ptr))
+#define __put_user_unaligned(x, ptr)	__put_user((x), (ptr))
+
 #ifdef CONFIG_MMU
 extern unsigned long __must_check __copy_from_user(void *to, const void __user *from, unsigned long n);
 extern unsigned long __must_check __copy_to_user(void __user *to, const void *from, unsigned long n);