summaryrefslogtreecommitdiff
path: root/include/linux/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/cache.h')
-rw-r--r--include/linux/cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/cache.h b/include/linux/cache.h
index 4ee609ae..c61167ca 100644
--- a/include/linux/cache.h
+++ b/include/linux/cache.h
@@ -1,7 +1,8 @@
#ifndef __TOOLS_LINUX_CACHE_H
#define __TOOLS_LINUX_CACHE_H
-#define L1_CACHE_BYTES 64
+#define L1_CACHE_SHIFT 6
+#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
#define SMP_CACHE_BYTES L1_CACHE_BYTES
#define L1_CACHE_ALIGN(x) __ALIGN_KERNEL(x, L1_CACHE_BYTES)