Skip to contentSkip to conversation

arm: use unsigned long instead of unsigned int in get_user()

PATCH New Al Viro 1 participant 1 message Oct 11, 2006

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 arm: use unsigned long instead of unsigned int in get_user()

---
 include/asm-arm/uaccess.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/asm-arm/uaccess.h +1 -1
index 87aba57..09ad0ca 100644
@@ -110,7 +110,7 @@ #define __get_user_x(__r2,__p,__e,__s,__
 #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:							\
Signature · 1 line
1.4.2.GIT