2021-10-27 18:46:41 +05: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.
|
|
|
|
*/
|
|
|
|
|
2021-11-13 09:26:51 +05:00
|
|
|
#define L1_CACHE_SHIFT 5UL
|
|
|
|
#define L1_CACHE_BYTES (1UL << L1_CACHE_SHIFT)
|
2021-10-27 18:46:41 +05:00
|
|
|
|
|
|
|
#endif /* __ASM_GENERIC_CACHE_H */
|