diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-06-09 19:16:40 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-06-09 19:16:40 +0000 |
commit | 50fceffbaa89a63808f3d48011469346773dfd15 (patch) | |
tree | 1660eefbc84bc228ebf4d229ad355383a020949a | |
parent | 609bd3eff7132966ee6391176536521df59dd333 (diff) |
Fix userland regression tests by providing a #define for pool_setipl()
(just a noop since that doesn't matter in userland).
Pointed out by a couple of people, thanks.
-rw-r--r-- | sys/kern/subr_extent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_extent.c b/sys/kern/subr_extent.c index 5e72752b711..092d0c66c45 100644 --- a/sys/kern/subr_extent.c +++ b/sys/kern/subr_extent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_extent.c,v 1.38 2009/06/04 03:14:14 oga Exp $ */ +/* $OpenBSD: subr_extent.c,v 1.39 2009/06/09 19:16:39 oga Exp $ */ /* $NetBSD: subr_extent.c,v 1.7 1996/11/21 18:46:34 cgd Exp $ */ /*- @@ -62,9 +62,9 @@ #define wakeup(chan) ((void)0) #define pool_get(pool, flags) malloc((pool)->pr_size, 0, 0) #define pool_init(a, b, c, d, e, f, g) (a)->pr_size = (b) +#define pool_setipl(pool, ipl) /* nothing */ #define pool_put(pool, rp) free((rp), 0) #define panic printf -#define splx(s) ((void)(s)) #endif #if defined(DIAGNOSTIC) || defined(DDB) |