blob: 55e19f2ff0e012474a2d0f4c94a123e5e72bc9d9 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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>
Ralf Baechle00153652005-10-01 00:00:00 +010013#include <kmalloc.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
15#define L1_CACHE_SHIFT CONFIG_MIPS_L1_CACHE_SHIFT
16#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
17
Linus Torvalds1da177e2005-04-16 15:20:36 -070018#define SMP_CACHE_SHIFT L1_CACHE_SHIFT
19#define SMP_CACHE_BYTES L1_CACHE_BYTES
20
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#endif /* _ASM_CACHE_H */