Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Greg Ungerer | b0ffbf2 | 2009-02-06 14:34:47 +1000 | [diff] [blame] | 2 | /* |
| 3 | * include/asm-m68k/cache.h |
| 4 | */ |
| 5 | #ifndef __ARCH_M68K_CACHE_H |
| 6 | #define __ARCH_M68K_CACHE_H |
| 7 | |
| 8 | /* bytes per L1 cache line */ |
| 9 | #define L1_CACHE_SHIFT 4 |
| 10 | #define L1_CACHE_BYTES (1<< L1_CACHE_SHIFT) |
| 11 | |
FUJITA Tomonori | a6eb9fe | 2010-08-10 18:03:22 -0700 | [diff] [blame] | 12 | #define ARCH_DMA_MINALIGN L1_CACHE_BYTES |
FUJITA Tomonori | dd6c26a | 2010-05-23 19:38:14 +0200 | [diff] [blame] | 13 | |
Sam Ravnborg | 4914802 | 2009-01-16 21:58:10 +1000 | [diff] [blame] | 14 | #endif |