diff options
-rw-r--r-- | sys/dev/cxgbe/iw_cxgbe/provider.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/cxgbe/iw_cxgbe/provider.c b/sys/dev/cxgbe/iw_cxgbe/provider.c index 2a25ad8..6b1dfa1 100644 --- a/sys/dev/cxgbe/iw_cxgbe/provider.c +++ b/sys/dev/cxgbe/iw_cxgbe/provider.c @@ -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) { |