summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/checksum_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/checksum_64.h')
-rw-r--r--arch/x86/include/asm/checksum_64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/checksum_64.h b/arch/x86/include/asm/checksum_64.h
index 3581761bd86c..cd00e1774491 100644
--- a/arch/x86/include/asm/checksum_64.h
+++ b/arch/x86/include/asm/checksum_64.h
@@ -184,7 +184,7 @@ static inline unsigned add32_with_carry(unsigned a, unsigned b)
asm("addl %2,%0\n\t"
"adcl $0,%0"
: "=r" (a)
- : "0" (a), "r" (b));
+ : "0" (a), "rm" (b));
return a;
}