The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=f7c0c1590e3e313d7f60da275b1d74dd82b56b04
commit f7c0c1590e3e313d7f60da275b1d74dd82b56b04 Author: Bjoern A. Zeeb <[email protected]> AuthorDate: 2022-09-21 19:46:17 +0000 Commit: Bjoern A. Zeeb <[email protected]> CommitDate: 2022-09-22 15:10:04 +0000 LinuxKPI: cache.h add L1_CACHE_ALIGN() Sponsored by: The FreeBSD Foundation MFC after: 7 days Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D36655 --- sys/compat/linuxkpi/common/include/linux/cache.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/cache.h b/sys/compat/linuxkpi/common/include/linux/cache.h index 6479d5d04d3a..68e8cc90f877 100644 --- a/sys/compat/linuxkpi/common/include/linux/cache.h +++ b/sys/compat/linuxkpi/common/include/linux/cache.h @@ -35,6 +35,7 @@ #define cache_line_size() CACHE_LINE_SIZE #define L1_CACHE_BYTES CACHE_LINE_SIZE +#define L1_CACHE_ALIGN(x) ALIGN(x, CACHE_LINE_SIZE) #define SMP_CACHE_BYTES L1_CACHE_BYTES
