summaryrefslogtreecommitdiffstats
path: root/arch/x86/um
diff options
context:
space:
mode:
authorDave Jones2014-03-11 00:32:22 +0100
committerLinus Torvalds2014-03-11 18:16:18 +0100
commit09df7c4c8097ca4a11393b1edd4997d786daad52 (patch)
tree0a58d79b93d99af21711f093d6c0bd4f7d33d6ba /arch/x86/um
parentMerge branch 'akpm' (patches from Andrew Morton) (diff)
downloadkernel-qcow2-linux-09df7c4c8097ca4a11393b1edd4997d786daad52.tar.gz
kernel-qcow2-linux-09df7c4c8097ca4a11393b1edd4997d786daad52.tar.xz
kernel-qcow2-linux-09df7c4c8097ca4a11393b1edd4997d786daad52.zip
x86: Remove CONFIG_X86_OOSTORE
This was an optimization that made memcpy type benchmarks a little faster on ancient (Circa 1998) IDT Winchip CPUs. In real-life workloads, it wasn't even noticable, and I doubt anyone is running benchmarks on 16 year old silicon any more. Given this code has likely seen very little use over the last decade, let's just remove it. Signed-off-by: Dave Jones <davej@fedoraproject.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/um')
-rw-r--r--arch/x86/um/asm/barrier.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/um/asm/barrier.h b/arch/x86/um/asm/barrier.h
index 7d01b8c56c00..cc04e67bfd05 100644
--- a/arch/x86/um/asm/barrier.h
+++ b/arch/x86/um/asm/barrier.h
@@ -40,11 +40,7 @@
#define smp_rmb() barrier()
#endif /* CONFIG_X86_PPRO_FENCE */
-#ifdef CONFIG_X86_OOSTORE
-#define smp_wmb() wmb()
-#else /* CONFIG_X86_OOSTORE */
#define smp_wmb() barrier()
-#endif /* CONFIG_X86_OOSTORE */
#define smp_read_barrier_depends() read_barrier_depends()
#define set_mb(var, value) do { (void)xchg(&var, value); } while (0)