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