Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
2 | * linux/include/asm-arm26/cache.h | ||||
3 | */ | ||||
4 | #ifndef __ASMARM_CACHE_H | ||||
5 | #define __ASMARM_CACHE_H | ||||
6 | |||||
Alexey Dobriyan | 511c3a2 | 2006-01-16 22:13:56 -0800 | [diff] [blame] | 7 | #define L1_CACHE_SHIFT 5 |
8 | #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | #define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1)) |
10 | #define SMP_CACHE_BYTES L1_CACHE_BYTES | ||||
11 | |||||
12 | #endif |