summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/cache.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-03-27 23:54:12 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-03-27 23:54:12 +0000
commitd3e71cb08747743fce908122bab08b479eb403a5 (patch)
treecbec6948fdbdee9af81cf3ecfb504070d2745d7b /include/asm-i386/cache.h
parentfe7ff1706e323d0e5ed83972960a1ecc1ee538b3 (diff)
Merge with Linux 2.3.99-pre3.
Diffstat (limited to 'include/asm-i386/cache.h')
-rw-r--r--include/asm-i386/cache.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/asm-i386/cache.h b/include/asm-i386/cache.h
index 7260b50e4..de4a7a87c 100644
--- a/include/asm-i386/cache.h
+++ b/include/asm-i386/cache.h
@@ -4,11 +4,9 @@
#ifndef __ARCH_I386_CACHE_H
#define __ARCH_I386_CACHE_H
+#include <linux/config.h>
+
/* bytes per L1 cache line */
-#if CPU==586 || CPU==686
-#define L1_CACHE_BYTES 32
-#else
-#define L1_CACHE_BYTES 16
-#endif
+#define L1_CACHE_BYTES CONFIG_X86_L1_CACHE_BYTES
#endif