diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-06-30 17:37:08 -0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-09 09:14:16 +0200 |
commit | 1dc186e82c1ab476ef83080adca43a70969b01cd (patch) | |
tree | 8ed6340be8288bc5f0b8a5b8ff725a45b768af05 /include/asm-x86/uaccess_32.h | |
parent | 8b0a8aaf05325a1a96f53b45708f77599da35161 (diff) | |
download | blackbird-op-linux-1dc186e82c1ab476ef83080adca43a70969b01cd.tar.gz blackbird-op-linux-1dc186e82c1ab476ef83080adca43a70969b01cd.zip |
x86: use long instead of int.
Do not refer to the processor word-size with int, as it won't
work with x86_64. Use long instead.
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/uaccess_32.h')
-rw-r--r-- | include/asm-x86/uaccess_32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/uaccess_32.h b/include/asm-x86/uaccess_32.h index 8d3f02d3562c..eed8d9422b4d 100644 --- a/include/asm-x86/uaccess_32.h +++ b/include/asm-x86/uaccess_32.h @@ -62,7 +62,7 @@ extern struct movsl_mask { __chk_user_ptr(addr); \ asm("add %3,%1 ; sbb %0,%0; cmp %1,%4; sbb $0,%0" \ :"=&r" (flag), "=r" (roksum) \ - :"1" (addr), "g" ((int)(size)), \ + :"1" (addr), "g" ((long)(size)), \ "rm" (current_thread_info()->addr_limit.seg)); \ flag; \ }) |