File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 14
14
15
15
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
16
16
17
+ /*
18
+ * Some drivers need to perform DMA into kmalloc'ed buffers
19
+ * and so we have to increase the kmalloc minalign for this.
20
+ */
21
+ #define ARCH_DMA_MINALIGN L1_CACHE_BYTES
22
+
17
23
#define __read_mostly __section(".data..read_mostly")
18
24
19
25
#ifndef __ASSEMBLY__
Original file line number Diff line number Diff line change @@ -174,10 +174,4 @@ typedef struct page *pgtable_t;
174
174
#include <asm-generic/memory_model.h>
175
175
#include <asm-generic/getorder.h>
176
176
177
- /*
178
- * Some drivers need to perform DMA into kmalloc'ed buffers
179
- * and so we have to increase the kmalloc minalign for this.
180
- */
181
- #define ARCH_DMA_MINALIGN L1_CACHE_BYTES
182
-
183
177
#endif /* __ASM_SH_PAGE_H */
You can’t perform that action at this time.
0 commit comments