2.5.53 Activate P4 prefetch

Margit Schubert-While (margitsw@t-online.de)
Tue, 24 Dec 2002 18:26:25 +0100


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