linux-surface/kernel/include/asm-generic/cache.h

14 lines
384 B
C
Raw Normal View History

2017-11-06 02:38:20 +00:00
/* SPDX-License-Identifier: GPL-2.0 */
2017-08-10 13:25:24 +00:00
#ifndef __ASM_GENERIC_CACHE_H
#define __ASM_GENERIC_CACHE_H
/*
* 32 bytes appears to be the most common cache line size,
* so make that the default here. Architectures with larger
* cache lines need to provide their own cache.h.
*/
#define L1_CACHE_SHIFT 5
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
#endif /* __ASM_GENERIC_CACHE_H */