From 126fe1249a0ceebf11562f2f3c71791f2aae604b Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Tue, 28 Jan 2003 09:48:59 +0000 Subject: [PATCH] Add more scaffolding to make this compile kernel code. --- tools/regression/geom/geom_sim.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/regression/geom/geom_sim.h b/tools/regression/geom/geom_sim.h index 37d7afcc2e70..175c8d797138 100644 --- a/tools/regression/geom/geom_sim.h +++ b/tools/regression/geom/geom_sim.h @@ -42,6 +42,13 @@ pthread_mutex_t ptm_up, ptm_down, ptm_event; #define CTASSERT(foo) +#define DROP_GIANT() +#define PICKUP_GIANT() + +#define EDIRIOCTL -6 + +#define copyin(foo, bar, barf) 0 + /* bio.h */ struct bio {