diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-02-22 12:44:16 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-02-22 14:35:10 +0000 |
commit | aae3bfeb28ca86b416a6a4de71eb23cdb46cf9de (patch) | |
tree | e944bc43ed59824dfcef2f0759a37fc46ec3ed36 /src/sna/sna_accel.c | |
parent | 75cff26ebad33aca7ade7aa5a650235a7d42e47c (diff) |
sna: Assert that sigtrap is active
Curiouser and curiouser.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_accel.c')
-rw-r--r-- | src/sna/sna_accel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 0dac5611..64b60c2d 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -17071,7 +17071,7 @@ void sna_accel_close(struct sna *sna) void sna_accel_block_handler(struct sna *sna, struct timeval **tv) { - sigtrap_assert(); + sigtrap_assert_inactive(); if (sna->kgem.need_retire) kgem_retire(&sna->kgem); @@ -17158,11 +17158,11 @@ void sna_accel_wakeup_handler(struct sna *sna) _kgem_submit(&sna->kgem); } - sigtrap_assert(); + sigtrap_assert_inactive(); } void sna_accel_free(struct sna *sna) { DBG(("%s\n", __FUNCTION__)); - sigtrap_assert(); + sigtrap_assert_inactive(); } |