Messages in this thread Patch in this message | | | Subject | [PATCH] arm: use unsigned long instead of unsigned int in get_user() | From | Al Viro <> | Date | Wed, 11 Oct 2006 17:22:54 +0100 |
| |
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> --- include/asm-arm/uaccess.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/asm-arm/uaccess.h b/include/asm-arm/uaccess.h index 87aba57..09ad0ca 100644 --- a/include/asm-arm/uaccess.h +++ b/include/asm-arm/uaccess.h @@ -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: \ -- 1.4.2.GIT - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |