Commit 93b31732 authored by Paul Mackerras's avatar Paul Mackerras

PPC32: define L1_CACHE_SHIFT

parent 5d7e01f8
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#endif #endif
#define L1_CACHE_BYTES L1_CACHE_LINE_SIZE #define L1_CACHE_BYTES L1_CACHE_LINE_SIZE
#define L1_CACHE_SHIFT LG_L1_CACHE_LINE_SIZE
#define SMP_CACHE_BYTES L1_CACHE_BYTES #define SMP_CACHE_BYTES L1_CACHE_BYTES
#define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1)) #define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment