Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- kernel/common/inc/nv-linux.h.orig 2018-04-09 15:16:47.999694474 +0200
- +++ kernel/common/inc/nv-linux.h 2018-04-09 15:18:12.605364689 +0200
- @@ -1209,6 +1209,7 @@ static inline NvU32 nv_alloc_init_flags(
- static inline NvBool nv_dma_maps_swiotlb(struct pci_dev *dev)
- {
- NvBool swiotlb_in_use = NV_FALSE;
- +#if 0
- #if defined(CONFIG_SWIOTLB)
- #if defined(NV_DMA_OPS_PRESENT) || defined(NV_GET_DMA_OPS_PRESENT)
- /*
- @@ -1251,6 +1252,7 @@ static inline NvBool nv_dma_maps_swiotlb
- swiotlb_in_use = (swiotlb == 1);
- #endif
- #endif
- +#endif
- return swiotlb_in_use;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement