1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */ 2*4882a593Smuzhiyun #ifndef __ASM_GENERIC_CACHE_H 3*4882a593Smuzhiyun #define __ASM_GENERIC_CACHE_H 4*4882a593Smuzhiyun /* 5*4882a593Smuzhiyun * 32 bytes appears to be the most common cache line size, 6*4882a593Smuzhiyun * so make that the default here. Architectures with larger 7*4882a593Smuzhiyun * cache lines need to provide their own cache.h. 8*4882a593Smuzhiyun */ 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun #define L1_CACHE_SHIFT 5 11*4882a593Smuzhiyun #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun #endif /* __ASM_GENERIC_CACHE_H */ 14