Date: Fri, 14 Feb 2014 23:38:42 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r261907 - head/sys/dev/cxgbe/iw_cxgbe Message-ID: <201402142338.s1ENcg9J093751@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Fri Feb 14 23:38:42 2014 New Revision: 261907 URL: http://svnweb.freebsd.org/changeset/base/261907 Log: In cxgbe, conditionalize the t4_pgprot_wc() function, since it is only used when DOT5 is defined. Reviewed by: np MFC after: 3 days Modified: head/sys/dev/cxgbe/iw_cxgbe/provider.c Modified: head/sys/dev/cxgbe/iw_cxgbe/provider.c ============================================================================== --- head/sys/dev/cxgbe/iw_cxgbe/provider.c Fri Feb 14 23:19:51 2014 (r261906) +++ head/sys/dev/cxgbe/iw_cxgbe/provider.c Fri Feb 14 23:38:42 2014 (r261907) @@ -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?201402142338.s1ENcg9J093751>