diff options
author | David P <megver83@parabola.nu> | 2018-04-20 15:14:53 -0300 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2018-04-20 15:14:53 -0300 |
commit | 71674309f1c119481444bc9eab2bc2538646247b (patch) | |
tree | 64a70c1fea901f170dc69172a21c60578c63ad85 /libre/linux-libre/0003-Partially-revert-swiotlb-remove-various-exports.patch | |
parent | 67bd585c4b63a549617ca54e42a0ccd3f6527165 (diff) | |
download | abslibre-71674309f1c119481444bc9eab2bc2538646247b.tar.gz abslibre-71674309f1c119481444bc9eab2bc2538646247b.tar.bz2 abslibre-71674309f1c119481444bc9eab2bc2538646247b.zip |
upgpkg: libre/linux-libre 4.16.3_gnu-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre/linux-libre/0003-Partially-revert-swiotlb-remove-various-exports.patch')
-rw-r--r-- | libre/linux-libre/0003-Partially-revert-swiotlb-remove-various-exports.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libre/linux-libre/0003-Partially-revert-swiotlb-remove-various-exports.patch b/libre/linux-libre/0003-Partially-revert-swiotlb-remove-various-exports.patch new file mode 100644 index 000000000..5a5f9ce0d --- /dev/null +++ b/libre/linux-libre/0003-Partially-revert-swiotlb-remove-various-exports.patch @@ -0,0 +1,29 @@ +From 1b03bcc6faecde170f9bea83accdde7bbd36df96 Mon Sep 17 00:00:00 2001 +Message-Id: <1b03bcc6faecde170f9bea83accdde7bbd36df96.1524129246.git.jan.steffens@gmail.com> +In-Reply-To: <ff9d06de19e83c0c5a00a4d46376b4d1032c4f99.1524129246.git.jan.steffens@gmail.com> +References: <ff9d06de19e83c0c5a00a4d46376b4d1032c4f99.1524129246.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/6] 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 + |