1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00

In cxgbe, conditionalize the t4_pgprot_wc() function, since it is only

used when DOT5 is defined.

Reviewed by:	np
MFC after:	3 days
This commit is contained in:
Dimitry Andric 2014-02-14 23:38:42 +00:00
parent f44e2a4c0f
commit e9e21b6e41
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261907

View File

@ -113,10 +113,12 @@ static struct ib_ucontext *c4iw_alloc_ucontext(struct ib_device *ibdev,
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)
{