Commit 32b5e0db authored by Linus Torvalds's avatar Linus Torvalds

Enable prefetching on P4/PIII class machines with CONFIG_X86_PREFETCH

parent 26ac8e19
......@@ -283,6 +283,11 @@ config X86_OOSTORE
depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6
default y
config X86_PREFETCH
bool
depends on MPENTIUMIII || MP4
default y
config HUGETLB_PAGE
bool "Huge TLB Page Support"
help
......
......@@ -486,7 +486,7 @@ static inline void rep_nop(void)
#define cpu_relax() rep_nop()
/* Prefetch instructions for Pentium III and AMD Athlon */
#ifdef CONFIG_MPENTIUMIII
#ifdef CONFIG_X86_PREFETCH
#define ARCH_HAS_PREFETCH
extern inline void prefetch(const void *x)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment