diff options
author | Miles Bader <miles@gnu.org> | 2005-07-27 14:44:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:03 -0400 |
commit | 8449d003f323ca7a00eec38905d984ba5ec83a29 (patch) | |
tree | 4e75a9275e317b8935ee53a6106022970ea05b6b /include/asm-v850/cache.h | |
parent | 8b2bf06994b9cd6067e5c7620e270eec73fef70b (diff) |
[PATCH] v850: Define L1_CACHE_SHIFT and L1_CACHE_SHIFT_MAX
Signed-off-by: Miles Bader <miles@gnu.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-v850/cache.h')
-rw-r--r-- | include/asm-v850/cache.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/asm-v850/cache.h b/include/asm-v850/cache.h index 027f8c9090cd..cbf9096e8517 100644 --- a/include/asm-v850/cache.h +++ b/include/asm-v850/cache.h | |||
@@ -1,8 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * include/asm-v850/cache.h -- Cache operations | 2 | * include/asm-v850/cache.h -- Cache operations |
3 | * | 3 | * |
4 | * Copyright (C) 2001 NEC Corporation | 4 | * Copyright (C) 2001,05 NEC Corporation |
5 | * Copyright (C) 2001 Miles Bader <miles@gnu.org> | 5 | * Copyright (C) 2001,05 Miles Bader <miles@gnu.org> |
6 | * | 6 | * |
7 | * This file is subject to the terms and conditions of the GNU General | 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 | 8 | * Public License. See the file COPYING in the main directory of this |
@@ -20,6 +20,9 @@ | |||
20 | #ifndef L1_CACHE_BYTES | 20 | #ifndef L1_CACHE_BYTES |
21 | /* This processor has no cache, so just choose an arbitrary value. */ | 21 | /* This processor has no cache, so just choose an arbitrary value. */ |
22 | #define L1_CACHE_BYTES 16 | 22 | #define L1_CACHE_BYTES 16 |
23 | #define L1_CACHE_SHIFT 4 | ||
23 | #endif | 24 | #endif |
24 | 25 | ||
26 | #define L1_CACHE_SHIFT_MAX L1_CACHE_SHIFT | ||
27 | |||
25 | #endif /* __V850_CACHE_H__ */ | 28 | #endif /* __V850_CACHE_H__ */ |