diff options
Diffstat (limited to 'sys/pci/agp.c')
-rw-r--r-- | sys/pci/agp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/agp.c b/sys/pci/agp.c index 293011c..f821026 100644 --- a/sys/pci/agp.c +++ b/sys/pci/agp.c @@ -357,7 +357,7 @@ agp_generic_alloc_memory(device_t dev, int type, vm_size_t size) return 0; } - mem = malloc(sizeof *mem, M_AGP, 0); + mem = malloc(sizeof *mem, M_AGP, M_WAITOK); mem->am_id = sc->as_nextid++; mem->am_size = size; mem->am_type = 0; |