diff options
author | Adam Jackson <ajax@redhat.com> | 2009-02-13 17:25:32 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-02-13 17:25:32 -0500 |
commit | ae68be312619ad3bcb2d550a6267d38cce3284f5 (patch) | |
tree | e0846b8a2c67d1bcec78272fd53903a773a25098 | |
parent | c18f454e4a9cab03e5d55b6d761a4a735c943b6b (diff) |
Input: Don't re-block SIGIO in xf86SigioReadInput()
It's already blocked on the way in, because we asked for it to be
blocked at sigaction() time.
-rw-r--r-- | hw/xfree86/common/xf86Events.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/hw/xfree86/common/xf86Events.c b/hw/xfree86/common/xf86Events.c index 592d4e3a0..9ed28840d 100644 --- a/hw/xfree86/common/xf86Events.c +++ b/hw/xfree86/common/xf86Events.c @@ -304,16 +304,13 @@ xf86Wakeup(pointer blockData, int err, pointer pReadmask) * signal handler for the SIGIO signal. */ static void -xf86SigioReadInput(int fd, - void *closure) +xf86SigioReadInput(int fd, void *closure) { int errno_save = errno; - int sigstate = xf86BlockSIGIO(); - InputInfoPtr pInfo = (InputInfoPtr) closure; + InputInfoPtr pInfo = closure; pInfo->read_input(pInfo); - xf86UnblockSIGIO(sigstate); errno = errno_save; } |