2002-12-24 17:17:44

by Margit Schubert-While

[permalink] [raw]
Subject: 2.5.53 Activate P4 prefetch

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