Linux 5.6.13
[linux/fpc-iii.git] / arch / hexagon / include / asm / cache.h
blob931719dfad28559c50c6299dce48e319396bda94
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Cache definitions for the Hexagon architecture
5 * Copyright (c) 2010-2011,2014 The Linux Foundation. All rights reserved.
6 */
8 #ifndef __ASM_CACHE_H
9 #define __ASM_CACHE_H
11 /* Bytes per L1 cache line */
12 #define L1_CACHE_SHIFT (5)
13 #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
15 #define ARCH_DMA_MINALIGN L1_CACHE_BYTES
17 #define __cacheline_aligned __aligned(L1_CACHE_BYTES)
18 #define ____cacheline_aligned __aligned(L1_CACHE_BYTES)
20 /* See http://lwn.net/Articles/262554/ */
21 #define __read_mostly
23 #endif