Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> writes:
| CC mm/memcontrol.o | {standard input}: Assembler messages: | {standard input}:4076: Error: operands mismatch -- statement `subl 12(%fp),170(%a0)' ignored Seems like we have bad asm constraints in static inline int atomic_sub_and_test(int i, atomic_t *v) { char c; __asm__ __volatile__("subl %2,%1; seq %0" : "=d" (c), "+m" (*v): "g" (i));
Surely "g" is wrong, sub only accepts a data register as source operand when the destination is in memory. Andreas. -- Andreas Schwab, schwab@xxxxxxxxxxxxxx GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html