2.5.53 Activate P4 prefetch

2.5.53 Activate P4 prefetch

Post by Margit Schubert-Whi » Wed, 25 Dec 2002 19:30:13



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

  #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

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/