summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/asm-i386/xor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/xor.h b/include/asm-i386/xor.h
index 366d6f15383d..666db7a07669 100644
--- a/include/asm-i386/xor.h
+++ b/include/asm-i386/xor.h
@@ -489,7 +489,7 @@ xor_p5_mmx_5(unsigned long bytes, unsigned long *p1, unsigned long *p2,
" jnz 1b ;\n"
" popl %5\n"
" popl %4\n"
- : "+g" (lines),
+ : "+r" (lines),
"+r" (p1), "+r" (p2), "+r" (p3)
: "r" (p4), "r" (p5)
: "memory");