summaryrefslogtreecommitdiff
path: root/libre/linux-libre-hardened/partially-revert-swiotlb-remove-various-exports.patch
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-04-26 23:03:59 -0300
committerDavid P <megver83@parabola.nu>2018-04-26 23:03:59 -0300
commita4d68fc9ade9c1723d116092a2ada50be51fb8f1 (patch)
tree983f208550a0081182ca155379d9210e9c009c13 /libre/linux-libre-hardened/partially-revert-swiotlb-remove-various-exports.patch
parent481fe845053d7502a966902fbe0d3b541248ee19 (diff)
downloadabslibre-a4d68fc9ade9c1723d116092a2ada50be51fb8f1.tar.gz
abslibre-a4d68fc9ade9c1723d116092a2ada50be51fb8f1.tar.bz2
abslibre-a4d68fc9ade9c1723d116092a2ada50be51fb8f1.zip
upgpkg: libre/linux-libre-hardened 4.16.5_gnu.a-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre/linux-libre-hardened/partially-revert-swiotlb-remove-various-exports.patch')
-rw-r--r--libre/linux-libre-hardened/partially-revert-swiotlb-remove-various-exports.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/libre/linux-libre-hardened/partially-revert-swiotlb-remove-various-exports.patch b/libre/linux-libre-hardened/partially-revert-swiotlb-remove-various-exports.patch
new file mode 100644
index 000000000..3a0913527
--- /dev/null
+++ b/libre/linux-libre-hardened/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)" <jan.steffens@gmail.com>
+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
+