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:
parent
30048f6142
commit
f7c0c1590e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user