From 81a93d4f5a7b43ff9815560c0db4c80bf623557b Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Mon, 30 Apr 2018 14:01:33 -0700 Subject: Updated to 4.16.5.a | Added ath9k hack --- ...lly-revert-swiotlb-remove-various-exports.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 partially-revert-swiotlb-remove-various-exports.patch (limited to 'partially-revert-swiotlb-remove-various-exports.patch') diff --git a/partially-revert-swiotlb-remove-various-exports.patch b/partially-revert-swiotlb-remove-various-exports.patch new file mode 100644 index 0000000..3a09135 --- /dev/null +++ b/partially-revert-swiotlb-remove-various-exports.patch @@ -0,0 +1,26 @@ +From be536681bd2439bf8e95df124fa282cf4a2e7846 Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)" +Date: Fri, 6 Apr 2018 16:19:38 +0200 +Subject: [PATCH 3/5] Partially revert "swiotlb: remove various exports" + +This partially reverts commit 4bd89ed39b2ab8dc4ac4b6c59b07d420b0213bec. +The proprietary NVIDIA driver needs one of the exports. +--- + lib/swiotlb.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/swiotlb.c b/lib/swiotlb.c +index 44f7eb408fdb..0bb1bb65ad6b 100644 +--- a/lib/swiotlb.c ++++ b/lib/swiotlb.c +@@ -1016,6 +1016,7 @@ swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, int nelems, + } + return nelems; + } ++EXPORT_SYMBOL(swiotlb_map_sg_attrs); + + /* + * Unmap a set of streaming mode DMA translations. Again, cpu read rules +-- +2.17.0 + -- cgit v1.2.1