mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] x86: fix __range_ok constraint
An immediate operand can't be the destination of the cmpl instruction, so exclude it. Signed-off-by: Roman Zippel <[email protected]> Cc: Mattia Dongili <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6444541671
commit
722f4f5b26
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ extern struct movsl_mask {
|
|||
__chk_user_ptr(addr); \
|
||||
asm("addl %3,%1 ; sbbl %0,%0; cmpl %1,%4; sbbl $0,%0" \
|
||||
:"=&r" (flag), "=r" (sum) \
|
||||
:"1" (addr),"g" ((int)(size)),"g" (current_thread_info()->addr_limit.seg)); \
|
||||
:"1" (addr),"g" ((int)(size)),"rm" (current_thread_info()->addr_limit.seg)); \
|
||||
flag; })
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue