mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm: use unsigned long instead of unsigned int in get_user()
@ 2006-10-11 16:22 Al Viro
  0 siblings, 0 replies; only message in thread
From: Al Viro @ 2006-10-11 16:22 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, rmk


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-11 16:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-11 16:22 [PATCH] arm: use unsigned long instead of unsigned int in get_user() Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®