diff options
author | jimharris <jimharris@FreeBSD.org> | 2013-07-09 21:24:19 +0000 |
---|---|---|
committer | jimharris <jimharris@FreeBSD.org> | 2013-07-09 21:24:19 +0000 |
commit | 6a4189c5fdf3d1448e04e1e52f11439d89305424 (patch) | |
tree | cee403db382578c84f57d246e4504abfd49ec17b | |
parent | d7c0528dab3a33e22987cf5ccbb686c8b8b38f06 (diff) | |
download | FreeBSD-src-6a4189c5fdf3d1448e04e1e52f11439d89305424.zip FreeBSD-src-6a4189c5fdf3d1448e04e1e52f11439d89305424.tar.gz |
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
-rw-r--r-- | sys/dev/nvme/nvme_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/nvme/nvme_private.h b/sys/dev/nvme/nvme_private.h index 52d52fe..10643f2 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 |