diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-04-15 18:58:44 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-04-15 18:58:44 +0200 |
commit | 13d87e76053b12fde8d58405b14f1efec4f8e393 (patch) | |
tree | 66fa01bb0f6c23e8a6690bbb2ac18bf10ce85f01 /debian | |
parent | 5ad5bc5505100f2c55e9ed533b41f9d81605f8fe (diff) |
rm fix-libpager-notify-lookups.patch
Diffstat (limited to 'debian')
-rw-r--r-- | debian/patches/fix-libpager-notify-lookups.patch | 50 | ||||
-rw-r--r-- | debian/patches/series | 2 |
2 files changed, 0 insertions, 52 deletions
diff --git a/debian/patches/fix-libpager-notify-lookups.patch b/debian/patches/fix-libpager-notify-lookups.patch deleted file mode 100644 index 74cd92e5..00000000 --- a/debian/patches/fix-libpager-notify-lookups.patch +++ /dev/null @@ -1,50 +0,0 @@ -commit f1aa15a509d4249b19bb3d7f1f388829dd5135f8 -Author: Justus Winter <4winter@informatik.uni-hamburg.de> -Date: Tue Apr 15 13:54:19 2014 +0200 - - libpager: fix notify_port_t receiver lookups - - This fixes one more occurence of a notify_port_t receiver lookup that - I overlooked in 5a4926dd52aed56913cbe10592063ff0da753700. - - * libpager/no-senders.c: Include "notify_S.h" so that the compiler can - spot such mistakes in the future. - (_pager_do_seqnos_mach_notify_no_senders): Fix receiver lookup. - -diff --git a/libpager/no-senders.c b/libpager/no-senders.c -index 83a2c88..c21dfc2 100644 ---- a/libpager/no-senders.c -+++ b/libpager/no-senders.c -@@ -18,24 +18,19 @@ - - #include "priv.h" - #include <mach/notify.h> -+#include "notify_S.h" - - error_t --_pager_do_seqnos_mach_notify_no_senders (mach_port_t notify, -+_pager_do_seqnos_mach_notify_no_senders (struct port_info *pi, - mach_port_seqno_t seqno, - mach_port_mscount_t mscount) - { -- struct pager *p = ports_lookup_port (0, notify, _pager_class); -- -- if (!p) -+ if (!pi || -+ pi->class != _pager_class) - return EOPNOTSUPP; -- -- pthread_mutex_lock (&p->interlock); -- _pager_wait_for_seqno (p, seqno); -- _pager_release_seqno (p, seqno); -- pthread_mutex_unlock (&p->interlock); -- -- ports_no_senders (p, mscount); -- -- ports_port_deref (p); -+ -+ _pager_update_seqno_p ((struct pager *) pi, seqno); -+ ports_no_senders (pi, mscount); -+ - return 0; - } diff --git a/debian/patches/series b/debian/patches/series index 248ebaaf..65769bfb 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -42,5 +42,3 @@ xkb-compat.patch xxx-fix-build.patch mach-defpager-protected-payload.patch #ext2fs-skip-unallocated-blocks.patch - -fix-libpager-notify-lookups.patch |