diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-09-06 11:17:50 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-09-06 11:17:50 +0000 |
commit | 4e989ba41a995767f30059a81a35ba50a6b88256 (patch) | |
tree | d5113005504d644671ca43a74a89873648ea6720 /sys/dev/pci | |
parent | 3d4d8ad33d91ff2e245a2520e52fc4e8c81b9f05 (diff) |
We actually need an interrupt-safe allocator here, as we call pool_put()
with a mutex held, so we can't have it sleep.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/drm/drm_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c index 8179c77e771..89e4444d620 100644 --- a/sys/dev/pci/drm/drm_drv.c +++ b/sys/dev/pci/drm/drm_drv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: drm_drv.c,v 1.135 2015/04/17 00:54:41 jsg Exp $ */ +/* $OpenBSD: drm_drv.c,v 1.136 2015/09/06 11:17:49 kettenis Exp $ */ /*- * Copyright 2007-2009 Owain G. Ainsworth <oga@openbsd.org> * Copyright © 2008 Intel Corporation @@ -424,7 +424,7 @@ drm_attach(struct device *parent, struct device *self, void *aux) KASSERT(dev->driver->gem_size >= sizeof(struct drm_gem_object)); /* XXX unique name */ pool_init(&dev->objpl, dev->driver->gem_size, 0, 0, 0, - "drmobjpl", &pool_allocator_nointr); + "drmobjpl", NULL); } printf("\n"); |