projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35d59fc
)
[PATCH] arm: use unsigned long instead of unsigned int in get_user()
author
Al Viro
<viro@ftp.linux.org.uk>
Wed, 11 Oct 2006 16:22:54 +0000
(17:22 +0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 11 Oct 2006 18:17:05 +0000
(11:17 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-arm/uaccess.h
patch
|
blob
|
history
diff --git
a/include/asm-arm/uaccess.h
b/include/asm-arm/uaccess.h
index
87aba57
..
09ad0ca
100644
(file)
--- 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: \