summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-02-25 22:06:55 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-02-25 22:06:55 -0800
commitff4dc41e80523dc9e488e99f41985bd2f7b4620c (patch)
treed7809baae6a0a295c3e43c1ffbc1ecc4fde93970
parent047c4ecdc3fbadffcd92df48bc68af73479bd78f (diff)
Don't allow memory "lines" argument in "xor_p5_mmx_5()".
Since we do push/pops, a stack-based memory argument would do the wrong thing by using the wrong offsets.
-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");