This patch allows prefetch_range() to function on
64 bit x86.

Signed-off-by: Mike Marciniszyn <[email protected]>
---
 arch/x86/include/asm/processor.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index 4fa7dcc..95bcaf4 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -764,10 +764,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
 
 /*
  * Prefetch instructions for Pentium III (+) and AMD Athlon (+)


--
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