]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - include/asm-sparc/checksum.h
[SPARC32]: Fix over-optimization by GCC near ip_fast_csum.
[linux-3.10.git] / include / asm-sparc / checksum.h
index 267e631e9bbc345f2bbfafba3aeeade19c87d409..34518ea7bf1b5312dfe92ecdc4f11403edbad4e2 100644 (file)
@@ -151,7 +151,7 @@ static inline __sum16 ip_fast_csum(const void *iph, unsigned int ihl)
                             "xnor\t%%g0, %0, %0"
                             : "=r" (sum), "=&r" (iph)
                             : "r" (ihl), "1" (iph)
-                            : "g2", "g3", "g4", "cc");
+                            : "g2", "g3", "g4", "cc", "memory");
        return sum;
 }