162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci#ifndef __ASM_GENERIC_CACHE_H 362306a36Sopenharmony_ci#define __ASM_GENERIC_CACHE_H 462306a36Sopenharmony_ci/* 562306a36Sopenharmony_ci * 32 bytes appears to be the most common cache line size, 662306a36Sopenharmony_ci * so make that the default here. Architectures with larger 762306a36Sopenharmony_ci * cache lines need to provide their own cache.h. 862306a36Sopenharmony_ci */ 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci#define L1_CACHE_SHIFT 5 1162306a36Sopenharmony_ci#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci#endif /* __ASM_GENERIC_CACHE_H */ 14