aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/nvme
diff options
context:
space:
mode:
authorJim Harris <jimharris@FreeBSD.org>2013-07-12 22:08:24 +0000
committerJim Harris <jimharris@FreeBSD.org>2013-07-12 22:08:24 +0000
commit7fb82c9c1d8bece4ab898ea31950b455b01cab11 (patch)
treeddbeb3f75e5d92748d48957334317ae5ea3315e1 /sys/dev/nvme
parenta3e24ccf54c1d090cbf4a96962bda6e482647761 (diff)
Notes
Diffstat (limited to 'sys/dev/nvme')
-rw-r--r--sys/dev/nvme/nvme_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/nvme/nvme_private.h b/sys/dev/nvme/nvme_private.h
index 52d52fececd5..10643f22178c 100644
--- a/sys/dev/nvme/nvme_private.h
+++ b/sys/dev/nvme/nvme_private.h
@@ -109,6 +109,10 @@ MALLOC_DECLARE(M_NVME);
/* Maximum log page size to fetch for AERs. */
#define NVME_MAX_AER_LOG_SIZE (4096)
+/*
+ * Define CACHE_LINE_SIZE here for older FreeBSD versions that do not define
+ * it.
+ */
#ifndef CACHE_LINE_SIZE
#define CACHE_LINE_SIZE (64)
#endif