PATCH - avoid 'defined but not used' warning in xor.h on i386

From: Neil Brown (neilb@cse.unsw.edu.au)
Date: Tue Nov 12 2002 - 17:40:28 EST


This causes i386 to test the speed of the new prefetching generic
xor_block functions ... which turn out to be even slower than
the non-prefetch version on my P4-Xeon

 ----------- Diffstat output ------------
 include/asm-i386/xor.h | 2 ++
 1 files changed, 2 insertions(+)

diff include/asm-i386/xor.h~current~ include/asm-i386/xor.h
--- include/asm-i386/xor.h~current~ 2002-11-12 15:42:25.000000000 +1100
+++ include/asm-i386/xor.h 2002-11-12 15:42:25.000000000 +1100
@@ -868,7 +868,9 @@ static struct xor_block_template xor_blo
 #define XOR_TRY_TEMPLATES \
         do { \
                 xor_speed(&xor_block_8regs); \
+ xor_speed(&xor_block_8regs_p); \
                 xor_speed(&xor_block_32regs); \
+ xor_speed(&xor_block_32regs_p); \
                 if (cpu_has_xmm) \
                         xor_speed(&xor_block_pIII_sse); \
                 if (cpu_has_mmx) { \
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:27 EST