2.5.53 Activate P4 prefetch

From: Margit Schubert-While (margitsw@t-online.de)
Date: Tue Dec 24 2002 - 12:26:25 EST


--- linux-2.5.53/include/asm-i386/processor.h 2002-12-24
06:19:28.000000000 +0100
+++ linux-2.5.53mw0/include/asm-i386/processor.h 2002-12-24
18:22:16.000000000 +0100
@@ -485,7 +485,7 @@
  #define cpu_relax() rep_nop()

  /* Prefetch instructions for Pentium III and AMD Athlon */
-#ifdef CONFIG_MPENTIUMIII
+#if defined(CONFIG_MPENTIUMIII) || defined(CONFIG_MPENTIUM4)

  #define ARCH_HAS_PREFETCH
  extern inline void prefetch(const void *x)

Merry Christmas all.
Margit

-
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 : Tue Dec 31 2002 - 22:00:07 EST