aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/uaccess.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-10-11 17:22:54 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-11 11:17:05 -0700
commitfc048b5b0f2554bc953a8ada5b2e3b82bde2fcb0 (patch)
treeae7fa5a8e039a72bce77f4d8763f75221f4d4051 /include/asm-arm/uaccess.h
parent35d59fc5d6f318a28a99c5936171afd4edef28c8 (diff)
[PATCH] arm: use unsigned long instead of unsigned int in get_user()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-arm/uaccess.h')
-rw-r--r--include/asm-arm/uaccess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/uaccess.h b/include/asm-arm/uaccess.h
index 87aba57a66c..09ad0cab901 100644
--- a/include/asm-arm/uaccess.h
+++ b/include/asm-arm/uaccess.h
@@ -110,7 +110,7 @@ extern int __get_user_4(void *);
#define get_user(x,p) \
({ \
const register typeof(*(p)) __user *__p asm("r0") = (p);\
- register unsigned int __r2 asm("r2"); \
+ register unsigned long __r2 asm("r2"); \
register int __e asm("r0"); \
switch (sizeof(*(__p))) { \
case 1: \