Add an IPL_VM argument to comply with the new vmem_create() prototype,
as per hint from ad@.
This commit is contained in:
parent
4d0c78dab0
commit
bad1d53b6a
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: xen_shm_machdep.c,v 1.22 2007/03/13 18:30:57 ad Exp $ */
|
||||
/* $NetBSD: xen_shm_machdep.c,v 1.23 2007/07/10 16:23:26 he Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2006 Manuel Bouyer.
|
||||
|
@ -116,7 +116,7 @@ xen_shm_init()
|
|||
xen_shm_arena = vmem_create("xen_shm",
|
||||
xen_shm_base_address_pg,
|
||||
(xen_shm_end_address >> PAGE_SHIFT) - 1 - xen_shm_base_address_pg,
|
||||
1, NULL, NULL, NULL, 1, VM_NOSLEEP);
|
||||
1, NULL, NULL, NULL, 1, VM_NOSLEEP, IPL_VM);
|
||||
if (xen_shm_arena == NULL) {
|
||||
panic("xen_shm_init no arena");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue