Eleminate mips_cpu and move it into cpu_data.
[linux-2.6/linux-mips.git] / include / asm-mips / cache.h
blob4057cb45f74484869dce6f44b3b87e0513ee515a
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
6 * Copyright (C) 1997, 98, 99, 2000, 2003 Ralf Baechle
7 * Copyright (C) 1999 Silicon Graphics, Inc.
8 */
9 #ifndef _ASM_CACHE_H
10 #define _ASM_CACHE_H
12 #include <linux/config.h>
14 #if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_R6000) || \
15 defined(CONFIG_CPU_TX39XX)
16 #define L1_CACHE_BYTES 16
17 #define L1_CACHE_SHIFT_MAX 4 /* largest L1 which this arch supports */
18 #else
19 #define L1_CACHE_BYTES 32 /* A guess */
20 #define L1_CACHE_SHIFT_MAX 6 /* largest L1 which this arch supports */
21 #endif
23 #define SMP_CACHE_BYTES L1_CACHE_BYTES
25 #endif /* _ASM_CACHE_H */