diff options
Diffstat (limited to 'include/asm-um/cache.h')
-rw-r--r-- | include/asm-um/cache.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-um/cache.h b/include/asm-um/cache.h new file mode 100644 index 000000000000..4b134fe8504e --- /dev/null +++ b/include/asm-um/cache.h | |||
@@ -0,0 +1,10 @@ | |||
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 | ||