From 4376dc0eea7e46c2009bbbc450ab0b3fdc4b7fda Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Thu, 20 Jun 2002 00:25:01 -0700 Subject: [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. --- include/asm-i386/xor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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") -- cgit v1.2.3