summaryrefslogtreecommitdiffstats
path: root/sys-kernel/boest-v5.0.15/raspberrypi/0163-Revert-staging-vchiq_2835_arm-quit-using-custom-down.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/boest-v5.0.15/raspberrypi/0163-Revert-staging-vchiq_2835_arm-quit-using-custom-down.patch')
-rw-r--r--sys-kernel/boest-v5.0.15/raspberrypi/0163-Revert-staging-vchiq_2835_arm-quit-using-custom-down.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-kernel/boest-v5.0.15/raspberrypi/0163-Revert-staging-vchiq_2835_arm-quit-using-custom-down.patch b/sys-kernel/boest-v5.0.15/raspberrypi/0163-Revert-staging-vchiq_2835_arm-quit-using-custom-down.patch
new file mode 100644
index 00000000..d38a628d
--- /dev/null
+++ b/sys-kernel/boest-v5.0.15/raspberrypi/0163-Revert-staging-vchiq_2835_arm-quit-using-custom-down.patch
@@ -0,0 +1,24 @@
+From 54fa25897dbeefcf8450dc7853c0e75935157ea1 Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.org>
+Date: Wed, 6 Mar 2019 16:29:13 +0000
+Subject: [PATCH 163/194] Revert "staging: vchiq_2835_arm: quit using custom
+ down_interruptible()"
+
+This reverts commit ff5979ad86368425b7da3a25f4e84650b51ff5fd.
+---
+ .../staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c
+index 9e787b87c0e4..35c91c0f16b6 100644
+--- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c
++++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c
+@@ -570,7 +570,7 @@ create_pagelist(char __user *buf, size_t count, unsigned short type)
+ (g_cache_line_size - 1)))) {
+ char *fragments;
+
+- if (down_killable(&g_free_fragments_sema)) {
++ if (down_interruptible(&g_free_fragments_sema) != 0) {
+ cleanup_pagelistinfo(pagelistinfo);
+ return NULL;
+ }