Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2014 20:45:40 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r262132 - stable/10/sys/dev/cxgbe/iw_cxgbe
Message-ID:  <201402172045.s1HKjeNp042481@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Mon Feb 17 20:45:39 2014
New Revision: 262132
URL: http://svnweb.freebsd.org/changeset/base/262132

Log:
  MFC r261907:
  
  In cxgbe, conditionalize the t4_pgprot_wc() function, since it is only
  used when DOT5 is defined.
  
  Reviewed by:	np

Modified:
  stable/10/sys/dev/cxgbe/iw_cxgbe/provider.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/cxgbe/iw_cxgbe/provider.c
==============================================================================
--- stable/10/sys/dev/cxgbe/iw_cxgbe/provider.c	Mon Feb 17 20:37:15 2014	(r262131)
+++ stable/10/sys/dev/cxgbe/iw_cxgbe/provider.c	Mon Feb 17 20:45:39 2014	(r262132)
@@ -113,10 +113,12 @@ static struct ib_ucontext *c4iw_alloc_uc
 	return &context->ibucontext;
 }
 
+#ifdef DOT5
 static inline pgprot_t t4_pgprot_wc(pgprot_t prot)
 {
     return pgprot_writecombine(prot);
 }
+#endif
 
 static int c4iw_mmap(struct ib_ucontext *context, struct vm_area_struct *vma)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402172045.s1HKjeNp042481>