[PATCH] mempolicies: private pointer in check_range and MPOL_MF_INVERT
[linux-2.6/linux-2.6-openrd.git] / include / asm-mips / cache.h
blob1a5d1a669db382e4a2e398704b4052eddc083797
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>
13 #include <kmalloc.h>
15 #define L1_CACHE_SHIFT CONFIG_MIPS_L1_CACHE_SHIFT
16 #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
18 #define L1_CACHE_SHIFT_MAX 6
19 #define SMP_CACHE_SHIFT L1_CACHE_SHIFT
20 #define SMP_CACHE_BYTES L1_CACHE_BYTES
22 #endif /* _ASM_CACHE_H */