From bd6b0ac5be1a76ae6f6938b353154f6795692944 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Tue, 9 Jul 2013 21:24:19 +0000 Subject: [PATCH] Add comment explaining why CACHE_LINE_SIZE is defined in nvme_private.h if not already defined elsewhere. Requested by: attilio MFC after: 3 days --- sys/dev/nvme/nvme_private.h | 4 ++++ 1 file changed, 4 insertions(+) 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