summarylogtreecommitdiffstats
path: root/0003-Partially-revert-swiotlb-remove-various-exports.patch
diff options
context:
space:
mode:
authorTony Lambiris2018-04-17 23:58:06 -0400
committerTony Lambiris2018-04-17 23:58:06 -0400
commit9932208fbb2c169329c5539f996f641f065705d3 (patch)
treee5f0e21d7d157621918f4d2bccc4e84b3ef3807c /0003-Partially-revert-swiotlb-remove-various-exports.patch
parent2339271acfa5e804b98bb64bd5bac2340bc79927 (diff)
downloadaur-9932208fbb2c169329c5539f996f641f065705d3.tar.gz
Sync with arch
Diffstat (limited to '0003-Partially-revert-swiotlb-remove-various-exports.patch')
-rw-r--r--0003-Partially-revert-swiotlb-remove-various-exports.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/0003-Partially-revert-swiotlb-remove-various-exports.patch b/0003-Partially-revert-swiotlb-remove-various-exports.patch
new file mode 100644
index 00000000000..e8031296305
--- /dev/null
+++ b/0003-Partially-revert-swiotlb-remove-various-exports.patch
@@ -0,0 +1,29 @@
+From d1bc4bfbbc01a62a8b70f4018273d49b502c1511 Mon Sep 17 00:00:00 2001
+Message-Id: <d1bc4bfbbc01a62a8b70f4018273d49b502c1511.1523990130.git.jan.steffens@gmail.com>
+In-Reply-To: <3a7745f6fdd71aa34dae33c3edc586363d9ece9e.1523990130.git.jan.steffens@gmail.com>
+References: <3a7745f6fdd71aa34dae33c3edc586363d9ece9e.1523990130.git.jan.steffens@gmail.com>
+From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
+Date: Fri, 6 Apr 2018 16:19:38 +0200
+Subject: [PATCH 3/7] 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 c43ec2271469..77d699f14af7 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
+