svn commit: r253113 - head/sys/dev/nvme

Jim Harris jimharris at FreeBSD.org
Tue Jul 9 21:24:19 UTC 2013


Author: jimharris
Date: Tue Jul  9 21:24:19 2013
New Revision: 253113
URL: http://svnweb.freebsd.org/changeset/base/253113

Log:
  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

Modified:
  head/sys/dev/nvme/nvme_private.h

Modified: head/sys/dev/nvme/nvme_private.h
==============================================================================
--- head/sys/dev/nvme/nvme_private.h	Tue Jul  9 21:22:17 2013	(r253112)
+++ head/sys/dev/nvme/nvme_private.h	Tue Jul  9 21:24:19 2013	(r253113)
@@ -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


More information about the svn-src-head mailing list