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 00000000000..4b134fe8504 --- /dev/null +++ b/include/asm-um/cache.h @@ -0,0 +1,10 @@ +#ifndef __UM_CACHE_H +#define __UM_CACHE_H + +/* These are x86 numbers */ +#define L1_CACHE_SHIFT 5 +#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) + +#define L1_CACHE_SHIFT_MAX 7 /* largest L1 which this arch supports */ + +#endif |