xref: /linux/include/vdso/cache.h (revision 35758b0032c056cdff3e8f5a70669cb3e2c8d0e4)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __VDSO_CACHE_H
3 #define __VDSO_CACHE_H
4 
5 #include <asm/cache.h>
6 
7 #ifndef SMP_CACHE_BYTES
8 #define SMP_CACHE_BYTES L1_CACHE_BYTES
9 #endif
10 
11 #ifndef ____cacheline_aligned
12 #define ____cacheline_aligned __attribute__((__aligned__(SMP_CACHE_BYTES)))
13 #endif
14 
15 #endif	/* __VDSO_ALIGN_H */
16