Messages in this thread | | | From | Andreas Schwab <> | Subject | Re: gcc 4.5.1 / as 2.20.51.0.11 miscompiling drivers/char/i8k.c ? | Date | Tue, 09 Nov 2010 14:57:01 +0100 |
| |
Andi Kleen <andi@firstfloor.org> writes:
> @@ -142,7 +142,7 @@ static int i8k_smm(struct smm_regs *regs) > "lahf\n\t" > "shrl $8,%%eax\n\t" > "andl $1,%%eax\n" > - :"=a"(rc) > + :"=a"(rc), "=m" (*regs)
I think this should be "+m".
Andreas.
-- Andreas Schwab, schwab@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E "And now for something completely different."
| |