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
This commit is contained in:
Bjoern A. Zeeb 2022-09-21 19:46:17 +00:00
parent 30048f6142
commit f7c0c1590e

View File

@ -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