svn commit: r253297 - stable/9/sys/dev/nvme

Jim Harris jimharris at FreeBSD.org
Fri Jul 12 22:08:24 UTC 2013


Author: jimharris
Date: Fri Jul 12 22:08:24 2013
New Revision: 253297
URL: http://svnweb.freebsd.org/changeset/base/253297

Log:
  MFC r253113:
  
    Add comment explaining why CACHE_LINE_SIZE is defined in nvme_private.h
    if not already defined elsewhere.
  
  Approved by:	re (kib)

Modified:
  stable/9/sys/dev/nvme/nvme_private.h
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/nvme/nvme_private.h
==============================================================================
--- stable/9/sys/dev/nvme/nvme_private.h	Fri Jul 12 22:07:33 2013	(r253296)
+++ stable/9/sys/dev/nvme/nvme_private.h	Fri Jul 12 22:08:24 2013	(r253297)
@@ -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-stable-9 mailing list