summaryrefslogtreecommitdiff
path: root/debian/patches/700005-Fix-synchronization.patch
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2016-02-26 15:25:08 +0100
committerJustus Winter <justus@gnupg.org>2016-02-26 15:25:08 +0100
commite4717629d8fab2dac2bbf5218293879fbed9acf2 (patch)
tree1f91089b3a537b5baf5bfe8724e4c49f597bd3cb /debian/patches/700005-Fix-synchronization.patch
parent26f1b8273eacfb29845c985c2682061d41bafa70 (diff)
add patch series
Diffstat (limited to 'debian/patches/700005-Fix-synchronization.patch')
-rw-r--r--debian/patches/700005-Fix-synchronization.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/debian/patches/700005-Fix-synchronization.patch b/debian/patches/700005-Fix-synchronization.patch
new file mode 100644
index 0000000..9dd9aa1
--- /dev/null
+++ b/debian/patches/700005-Fix-synchronization.patch
@@ -0,0 +1,33 @@
+From 6632518b1183e15f2016ec53088e3f26f151a96d Mon Sep 17 00:00:00 2001
+From: Justus Winter <justus@gnupg.org>
+Date: Fri, 26 Feb 2016 13:21:12 +0100
+Subject: [PATCH gnumach 5/8] Fix synchronization
+
+---
+ device/intr.c | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/device/intr.c b/device/intr.c
+index 177c095..1e5a3ea 100644
+--- a/device/intr.c
++++ b/device/intr.c
+@@ -123,6 +123,7 @@ intr_thread ()
+
+ for (;;)
+ {
++ assert_wait ((event_t) &intr_thread, FALSE);
+ cli ();
+ while (tot_num_intr)
+ {
+@@ -162,8 +163,6 @@ intr_thread ()
+ }
+ }
+ sti ();
+-
+- assert_wait ((event_t) &intr_thread, FALSE);
+ thread_block (thread_no_continuation);
+ }
+ }
+--
+2.1.4
+