diff options
Diffstat (limited to 'include/asm-ppc64')
| -rw-r--r-- | include/asm-ppc64/cache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-ppc64/cache.h b/include/asm-ppc64/cache.h index 00928de36087..e3f2b238459f 100644 --- a/include/asm-ppc64/cache.h +++ b/include/asm-ppc64/cache.h @@ -8,6 +8,7 @@ #define __ARCH_PPC64_CACHE_H /* bytes per L1 cache line */ -#define L1_CACHE_BYTES 128 +#define L1_CACHE_SHIFT 7 +#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) #endif |
