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. 5 * 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 11 12 #include <linux/config.h> 13 14 #if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_R6000) || \ 15 defined(CONFIG_CPU_TX39XX) 16 #define L1_CACHE_BYTES 16 17 #else 18 #define L1_CACHE_BYTES 32 /* A guess */ 19 #endif 20 21 #define SMP_CACHE_BYTES L1_CACHE_BYTES 22 23 #endif /* _ASM_CACHE_H */ 24