diff options
| author | David Howells <dhowells@redhat.com> | 2005-01-04 05:24:08 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-04 05:24:08 -0800 |
| commit | 3970fa26ac3cfa5f7f4d66c2e14d5e81f828fac8 (patch) | |
| tree | 32c7c9adfd4a5caca2b44dfb2b1c30243667833b /include | |
| parent | 3ad3f96cbbd7010d32e7cfec8636ccdcad40b43c (diff) | |
[PATCH] FRV: FR55x CPU support fixes
The attached patch fixes the following issues with support for the FR55x CPUs:
(1) The FR555 has a 64-byte cacheline size; everything else that we've come
across has a 32-byte cacheline size.
(2) Fix machine_restart() for FR55x.
(3) Fix frv_cpu_suspend() for FR55x.
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-frv/cache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-frv/cache.h b/include/asm-frv/cache.h index df419d81a86a..cf69b6373b34 100644 --- a/include/asm-frv/cache.h +++ b/include/asm-frv/cache.h @@ -12,8 +12,10 @@ #ifndef __ASM_CACHE_H #define __ASM_CACHE_H +#include <linux/config.h> + /* bytes per L1 cache line */ -#define L1_CACHE_SHIFT 5 +#define L1_CACHE_SHIFT (CONFIG_FRV_L1_CACHE_SHIFT) #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) #define __cacheline_aligned __attribute__((aligned(L1_CACHE_BYTES))) |
