X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-i386%2Fchecksum.h;h=67d3630c4e8953c74773ce17aaf1bf2c197c1930;hb=4a68179d38874c37be2802442a71b847f5d1a2a9;hp=f949e44c2a35d290655258c83cf3f0f5731e7e20;hpb=d6ac1a7910d22626bc77e73db091e00b810715f4;p=powerpc.git diff --git a/include/asm-i386/checksum.h b/include/asm-i386/checksum.h index f949e44c2a..67d3630c4e 100644 --- a/include/asm-i386/checksum.h +++ b/include/asm-i386/checksum.h @@ -83,7 +83,7 @@ static inline unsigned short ip_fast_csum(unsigned char * iph, "adcl $0, %0 ;\n" "notl %0 ;\n" "2: ;\n" - /* 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)