Finn Thain <[EMAIL PROTECTED]> writes:

>> > >   CC      drivers/video/fbmem.o
>> > > {standard input}: Assembler messages:
>> > > {standard input}:2113: Error: operands mismatch -- statement `moveq.l 
>> > > #8,%a4' ignored
>> > > make[2]: *** [drivers/video/fbmem.o] Error 1
>> > > make[1]: *** [drivers/video] Error 2
>> > > make: *** [drivers] Error 2
>> > 
>> > Yup, same error here with my old and trusted gcc-3.3.6.
>> > 

Fixed in CVS.

--- linux/include/asm-m68k/uaccess.h.~1.8.~     2006-06-16 18:07:20.000000000 
+0200
+++ linux/include/asm-m68k/uaccess.h    2006-06-23 10:22:59.000000000 +0200
@@ -211,7 +211,7 @@ unsigned long __generic_copy_to_user(voi
                "       moveq.l #"#n",%0\n"                             \
                "       jra     4b\n"                                   \
                "       .previous\n"                                    \
-               : "+r" (res), "+&a" (to), "+a" (from), "=&d" (tmp)      \
+               : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp)      \
                : : "memory")
 
 static __always_inline unsigned long
@@ -292,7 +292,7 @@ __constant_copy_from_user(void *to, cons
                "5:     moveq.l #"#n",%0\n"                             \
                "       jra     4b\n"                                   \
                "       .previous\n"                                    \
-               : "+r" (res), "+a" (to), "+a" (from), "=&d" (tmp)       \
+               : "+d" (res), "+a" (to), "+a" (from), "=&d" (tmp)       \
                : : "memory")
 
 static __always_inline unsigned long

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to