Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ASM_GENERIC_CACHE_H
0003 #define __ASM_GENERIC_CACHE_H
0004 /*
0005  * 32 bytes appears to be the most common cache line size,
0006  * so make that the default here. Architectures with larger
0007  * cache lines need to provide their own cache.h.
0008  */
0009 
0010 #define L1_CACHE_SHIFT      5
0011 #define L1_CACHE_BYTES      (1 << L1_CACHE_SHIFT)
0012 
0013 #endif /* __ASM_GENERIC_CACHE_H */