summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndi Kleen <ak@muc.de>2002-06-20 00:25:01 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-06-20 00:25:01 -0700
commit4376dc0eea7e46c2009bbbc450ab0b3fdc4b7fda (patch)
tree82afa874fc93091484e776ced09fe94b64523bcf /include
parente79952fdea02007a7282fc16bfd52243b4793483 (diff)
[PATCH] Another RAID-5 XOR assembly fix
The last changes did trigger another latent bug in the inline assembly. akpm noticed it because he compiles his kernels with frame pointers.
Diffstat (limited to 'include')
-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 888ac968bd27..854f76a2b9e6 100644
--- a/include/asm-i386/xor.h
+++ b/include/asm-i386/xor.h
@@ -550,7 +550,7 @@ static struct xor_block_template xor_block_p5_mmx = {
"movups %%xmm1,0x10(%1) ;\n\t" \
"movups %%xmm2,0x20(%1) ;\n\t" \
"movups %%xmm3,0x30(%1) ;\n\t" \
- : "=r" (cr0) \
+ : "=&r" (cr0) \
: "r" (xmm_save) \
: "memory")