Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __UM_CACHE_H |
2 | #define __UM_CACHE_H | ||||
3 | |||||
4 | /* These are x86 numbers */ | ||||
5 | #define L1_CACHE_SHIFT 5 | ||||
6 | #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) | ||||
7 | |||||
8 | #define L1_CACHE_SHIFT_MAX 7 /* largest L1 which this arch supports */ | ||||
9 | |||||
10 | #endif |