Skip to content

Commit

Permalink
[PATCH] arm: use unsigned long instead of unsigned int in get_user()
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 11, 2006
1 parent 35d59fc commit fc048b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-arm/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -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: \
Expand Down

0 comments on commit fc048b5

Please sign in to comment.