xref: /linux/include/vdso/cache.h (revision 4f9786035f9e519db41375818e1d0b5f20da2f10)
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