Advertisement
Guest User

nvidia-linux-4.16-missing-exports-for-swiotlb.patch

a guest
Oct 16th, 2018
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.59 KB | None | 0 0
  1. --- kernel/common/inc/nv-linux.h.orig    2018-04-09 15:16:47.999694474 +0200
  2. +++ kernel/common/inc/nv-linux.h    2018-04-09 15:18:12.605364689 +0200
  3. @@ -1209,6 +1209,7 @@ static inline NvU32 nv_alloc_init_flags(
  4.  static inline NvBool nv_dma_maps_swiotlb(struct pci_dev *dev)
  5.  {
  6.      NvBool swiotlb_in_use = NV_FALSE;
  7. +#if 0
  8.  #if defined(CONFIG_SWIOTLB)
  9.    #if defined(NV_DMA_OPS_PRESENT) || defined(NV_GET_DMA_OPS_PRESENT)
  10.      /*
  11. @@ -1251,6 +1252,7 @@ static inline NvBool nv_dma_maps_swiotlb
  12.      swiotlb_in_use = (swiotlb == 1);
  13.    #endif
  14.  #endif
  15. +#endif
  16.  
  17.      return swiotlb_in_use;
  18.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement