X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-x86_64%2Fchecksum.h;h=989469e8e0b7d756ce2d3a0e17d76c83d2763d3a;hb=fb7ffeb11bb7e9e75dc83ff67a4925c270e0fa3c;hp=d01356f01448188f4f8322c371b0899c2d47ae16;hpb=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2;p=powerpc.git diff --git a/include/asm-x86_64/checksum.h b/include/asm-x86_64/checksum.h index d01356f014..989469e8e0 100644 --- a/include/asm-x86_64/checksum.h +++ b/include/asm-x86_64/checksum.h @@ -64,7 +64,7 @@ static inline unsigned short ip_fast_csum(unsigned char *iph, unsigned int ihl) " adcl $0, %0\n" " notl %0\n" "2:" - /* Since the input registers which are loaded with iph and ipl + /* Since the input registers which are loaded with iph and ihl are modified, we must also specify them as outputs, or gcc will assume they contain their original values. */ : "=r" (sum), "=r" (iph), "=r" (ihl)