fixup! Update additional Debian patches for v5.11

This commit is contained in:
Maximilian Luz 2021-03-04 18:07:57 +01:00
parent b672e7faf2
commit 12594c5a1f
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
From 50229d157d311b63268eaccbfec669da0dbb516c Mon Sep 17 00:00:00 2001
From 7f62394deb9ffe9dcb4bda81daf76f4d5a06733e Mon Sep 17 00:00:00 2001
From: Ben Hutchings <ben@decadent.org.uk>
Date: Mon, 7 Sep 2020 02:51:53 +0100
Subject: [PATCH 1/2] Export symbols needed by Android drivers
@ -20,14 +20,14 @@ Export the currently un-exported symbols they depend on.
7 files changed, 10 insertions(+)
diff --git a/fs/file.c b/fs/file.c
index dab120b71e44..ed2ec6ecc466 100644
index dab120b71e44..66f7ae2125b2 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -761,6 +761,7 @@ int close_fd_get_file(unsigned int fd, struct file **res)
*res = NULL;
return -ENOENT;
}
+EXPORT_SYMBOL(__close_fd_get_file);
+EXPORT_SYMBOL(close_fd_get_file);
void do_close_on_exec(struct files_struct *files)
{

View file

@ -1,4 +1,4 @@
From e2a9a34af4fd99de652638bfc0365aba284b95f8 Mon Sep 17 00:00:00 2001
From a005d7a334256bdf252a39897429e952f24dfe9a Mon Sep 17 00:00:00 2001
From: Ben Hutchings <ben@decadent.org.uk>
Date: Fri, 22 Jun 2018 17:27:00 +0100
Subject: [PATCH 2/2] android: Enable building ashmem and binder as modules