Merge head 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev
[pandora-kernel.git] / include / asm-v850 / cache.h
1 /*
2  * include/asm-v850/cache.h -- Cache operations
3  *
4  *  Copyright (C) 2001,05  NEC Corporation
5  *  Copyright (C) 2001,05  Miles Bader <miles@gnu.org>
6  *
7  * This file is subject to the terms and conditions of the GNU General
8  * Public License.  See the file COPYING in the main directory of this
9  * archive for more details.
10  *
11  * Written by Miles Bader <miles@gnu.org>
12  */
13
14 #ifndef __V850_CACHE_H__
15 #define __V850_CACHE_H__
16
17 /* All cache operations are machine-dependent.  */
18 #include <asm/machdep.h>
19
20 #ifndef L1_CACHE_BYTES
21 /* This processor has no cache, so just choose an arbitrary value.  */
22 #define L1_CACHE_BYTES          16
23 #define L1_CACHE_SHIFT          4
24 #endif
25
26 #define L1_CACHE_SHIFT_MAX      L1_CACHE_SHIFT
27
28 #endif /* __V850_CACHE_H__ */