|
@@ -17,6 +17,8 @@
|
|
#define L1_CACHE_SHIFT (CONFIG_FRV_L1_CACHE_SHIFT)
|
|
#define L1_CACHE_SHIFT (CONFIG_FRV_L1_CACHE_SHIFT)
|
|
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
|
|
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
|
|
|
|
|
|
|
|
+#define ARCH_KMALLOC_MINALIGN L1_CACHE_BYTES
|
|
|
|
+
|
|
#define __cacheline_aligned __attribute__((aligned(L1_CACHE_BYTES)))
|
|
#define __cacheline_aligned __attribute__((aligned(L1_CACHE_BYTES)))
|
|
#define ____cacheline_aligned __attribute__((aligned(L1_CACHE_BYTES)))
|
|
#define ____cacheline_aligned __attribute__((aligned(L1_CACHE_BYTES)))
|
|
|
|
|