Hi,
On Wed, 21 Jun 2006, Andrew Morton wrote:
> what the heck? Can you do `make fs/binfmt_aout.s' then send the relevant
> parts of that file?
I've hit this too, I haven't booted with the patch yet, but it should be
simple enough to be safe.
bye, Roman
An immediate operand can't be the destination of the cmpl instruction,
so exclude it.
Signed-off-by: Roman Zippel <[email protected]>
---
include/asm-i386/uaccess.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6-mm/include/asm-i386/uaccess.h
===================================================================
--- linux-2.6-mm.orig/include/asm-i386/uaccess.h 2006-06-21 16:23:56.000000000 +0200
+++ linux-2.6-mm/include/asm-i386/uaccess.h 2006-06-21 16:46:55.000000000 +0200
@@ -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; })
/**
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]