diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-06-30 16:37:08 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-09 03:14:16 -0400 |
commit | 1dc186e82c1ab476ef83080adca43a70969b01cd (patch) | |
tree | 8ed6340be8288bc5f0b8a5b8ff725a45b768af05 /include/asm-x86/uaccess_32.h | |
parent | 8b0a8aaf05325a1a96f53b45708f77599da35161 (diff) |
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 { | |||
62 | __chk_user_ptr(addr); \ | 62 | __chk_user_ptr(addr); \ |
63 | asm("add %3,%1 ; sbb %0,%0; cmp %1,%4; sbb $0,%0" \ | 63 | asm("add %3,%1 ; sbb %0,%0; cmp %1,%4; sbb $0,%0" \ |
64 | :"=&r" (flag), "=r" (roksum) \ | 64 | :"=&r" (flag), "=r" (roksum) \ |
65 | :"1" (addr), "g" ((int)(size)), \ | 65 | :"1" (addr), "g" ((long)(size)), \ |
66 | "rm" (current_thread_info()->addr_limit.seg)); \ | 66 | "rm" (current_thread_info()->addr_limit.seg)); \ |
67 | flag; \ | 67 | flag; \ |
68 | }) | 68 | }) |