aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/cache.h
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2021-05-24 17:56:53 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2021-05-25 18:01:48 +0000
commite21652c13c7c161efac7fd0b247c73914312212a (patch)
treeab707f825aee50ccf3dedce1531b9c9b6702319f /sys/compat/linuxkpi/common/include/linux/cache.h
parentda717031c9fd914343e19ba87f19c7a9a7006721 (diff)
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/cache.h')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/cache.h b/sys/compat/linuxkpi/common/include/linux/cache.h
index a269e55eb90b..4d1d400152ff 100644
--- a/sys/compat/linuxkpi/common/include/linux/cache.h
+++ b/sys/compat/linuxkpi/common/include/linux/cache.h
@@ -31,7 +31,11 @@
#ifndef _LINUX_CACHE_H_
#define _LINUX_CACHE_H_
+#include <sys/param.h>
+
#define cache_line_size() CACHE_LINE_SIZE
#define L1_CACHE_BYTES CACHE_LINE_SIZE
+#define SMP_CACHE_BYTES L1_CACHE_BYTES
+
#endif /* _LINUX_CACHE_H_ */