patch-2.4.7 linux/include/asm-mips64/cache.h

Next file: linux/include/asm-mips64/checksum.h
Previous file: linux/include/asm-mips64/bootinfo.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/include/asm-mips64/cache.h linux/include/asm-mips64/cache.h
@@ -1,5 +1,4 @@
-/* $Id: cache.h,v 1.3 2000/02/04 07:40:53 ralf Exp $
- *
+/*
  * This file is subject to the terms and conditions of the GNU General Public
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
@@ -11,7 +10,6 @@
 #define _ASM_CACHE_H
 
 /* bytes per L1 cache line */
-#define L1_CACHE_BYTES		32	/* A guess */
-#define SMP_CACHE_BYTES		L1_CACHE_BYTES
+#define L1_CACHE_BYTES		(1 << CONFIG_L1_CACHE_SHIFT)
 
 #endif /* _ASM_CACHE_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)