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
This commit is contained in:
Jim Harris 2013-07-09 21:24:19 +00:00
parent e9efbc134f
commit bd6b0ac5be
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253113

View File

@ -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