diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-v850/cache.h | 7 | ||||
-rw-r--r-- | include/asm-v850/v850e2_cache.h | 5 |
2 files changed, 8 insertions, 4 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__ */ |
diff --git a/include/asm-v850/v850e2_cache.h b/include/asm-v850/v850e2_cache.h index 61acda1023e8..87edf0d311d5 100644 --- a/include/asm-v850/v850e2_cache.h +++ b/include/asm-v850/v850e2_cache.h | |||
@@ -2,8 +2,8 @@ | |||
2 | * include/asm-v850/v850e2_cache_cache.h -- Cache control for V850E2 | 2 | * include/asm-v850/v850e2_cache_cache.h -- Cache control for V850E2 |
3 | * cache memories | 3 | * cache memories |
4 | * | 4 | * |
5 | * Copyright (C) 2003 NEC Electronics Corporation | 5 | * Copyright (C) 2003,05 NEC Electronics Corporation |
6 | * Copyright (C) 2003 Miles Bader <miles@gnu.org> | 6 | * Copyright (C) 2003,05 Miles Bader <miles@gnu.org> |
7 | * | 7 | * |
8 | * This file is subject to the terms and conditions of the GNU General | 8 | * This file is subject to the terms and conditions of the GNU General |
9 | * Public License. See the file COPYING in the main directory of this | 9 | * Public License. See the file COPYING in the main directory of this |
@@ -69,6 +69,7 @@ | |||
69 | 69 | ||
70 | /* For <asm/cache.h> */ | 70 | /* For <asm/cache.h> */ |
71 | #define L1_CACHE_BYTES V850E2_CACHE_LINE_SIZE | 71 | #define L1_CACHE_BYTES V850E2_CACHE_LINE_SIZE |
72 | #define L1_CACHE_SHIFT V850E2_CACHE_LINE_SIZE_BITS | ||
72 | 73 | ||
73 | 74 | ||
74 | #endif /* __V850_V850E2_CACHE_H__ */ | 75 | #endif /* __V850_V850E2_CACHE_H__ */ |