Is the a reason that this define is 32 specific?

I'm proposing the following:

diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index aa9088c..9310c06 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -815,10 +815,10 @@ extern char                       ignore_fpu_irq;

 #ifdef CONFIG_X86_32
 # define BASE_PREFETCH         ASM_NOP4
-# define ARCH_HAS_PREFETCH
 #else
 # define BASE_PREFETCH         "prefetcht0 (%1)"
 #endif
+# define ARCH_HAS_PREFETCH

The lack of the define causes prefetch_range() on 64 bit platforms.

Mike

This message and any attached documents contain information from QLogic 
Corporation or its wholly-owned subsidiaries that may be confidential. If you 
are not the intended recipient, you may not read, copy, distribute, or use this 
information. If you have received this transmission in error, please notify the 
sender immediately by reply e-mail and then delete this message.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to