git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
upgrade to linux 2.6.10-1.12_FC2
[linux-2.6.git]
/
include
/
asm-x86_64
/
uaccess.h
diff --git
a/include/asm-x86_64/uaccess.h
b/include/asm-x86_64/uaccess.h
index
a7b9d33
..
406102d
100644
(file)
--- a/
include/asm-x86_64/uaccess.h
+++ b/
include/asm-x86_64/uaccess.h
@@
-102,7
+102,7
@@
extern void __get_user_8(void);
/* Careful: we have to cast the result to the type of the pointer for sign reasons */
#define get_user(x,ptr) \
-({
long __val_gu;
\
+({
unsigned long __val_gu;
\
int __ret_gu; \
__chk_user_ptr(ptr); \
switch(sizeof (*(ptr))) { \